mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
fix(grok): strip reasoningEffort for grok cli models (#6938)
Co-authored-by: minisforum <no@mail.com> Co-authored-by: Diego Rodrigues de Sa e Souza <8016841+diegosouzapw@users.noreply.github.com>
This commit is contained in:
@@ -15,13 +15,25 @@ export const grok_cliProvider: RegistryEntry = {
|
|||||||
id: "grok-build",
|
id: "grok-build",
|
||||||
name: "Grok Build",
|
name: "Grok Build",
|
||||||
contextLength: 256000,
|
contextLength: 256000,
|
||||||
unsupportedParams: ["presencePenalty", "frequencyPenalty", "logprobs", "topLogprobs"],
|
unsupportedParams: [
|
||||||
|
"presencePenalty",
|
||||||
|
"frequencyPenalty",
|
||||||
|
"logprobs",
|
||||||
|
"topLogprobs",
|
||||||
|
"reasoningEffort",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "grok-composer-2.5-fast",
|
id: "grok-composer-2.5-fast",
|
||||||
name: "Grok Composer 2.5 Fast",
|
name: "Grok Composer 2.5 Fast",
|
||||||
contextLength: 200000,
|
contextLength: 200000,
|
||||||
unsupportedParams: ["presencePenalty", "frequencyPenalty", "logprobs", "topLogprobs"],
|
unsupportedParams: [
|
||||||
|
"presencePenalty",
|
||||||
|
"frequencyPenalty",
|
||||||
|
"logprobs",
|
||||||
|
"topLogprobs",
|
||||||
|
"reasoningEffort",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
oauth: {
|
oauth: {
|
||||||
|
|||||||
Reference in New Issue
Block a user