Skip to content

Commit

Permalink
Xai fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stevedekorte committed Oct 21, 2024
1 parent e44ea56 commit f10e18b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/library/services/Xai/XaiRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ curl https://api.x.ai/v1/chat/completions \
init () {
super.init();
this.setIsDebugging(true);
this.setIsStreaming(true);
}

/**
Expand Down
2 changes: 2 additions & 0 deletions source/library/services/Xai/XaiService.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
* @category Request Handling
*/
prepareToSendRequest (aRequest) {
/*
const bodyJson = aRequest.bodyJson();
let messages = bodyJson.messages;
Expand Down Expand Up @@ -139,6 +140,7 @@
if (mergedMessageCount) {
//console.log("XaiService.prepareToSendRequest() merged " + mergedMessageCount + " messages");
}
*/
return this;
}

Expand Down

0 comments on commit f10e18b

Please sign in to comment.