Remove stream options from XAIHandler and add new Grok-3 model variants to API configuration (#2776)

Co-authored-by: arafatkatze <arafat.da.khan@gmail.com>
This commit is contained in:
Dennis Bartlettandarafatkatze authored and GitHub committed 2025-04-09 17:20:06 -07:00
1 parent 49d3bcfedc
commit cef9af16a4
2 files changed
+36 -1

No files matched your search

-1
View File
@@ -24,7 +24,6 @@ export class XAIHandler implements ApiHandler {
temperature: 0,
messages: [{ role: "system", content: systemPrompt }, ...convertToOpenAiMessages(messages)],
stream: true,
stream_options: { include_usage: true },
})
for await (const chunk of stream) {