mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(ai): use completions API for all Fireworks GLM models
Route every GLM model through the OpenAI-compatible completions API. Closes #8978
This commit is contained in:
parent
69afa10503
commit
1e4fbe3847
1 changed files with 1 additions and 1 deletions
|
|
@ -1392,7 +1392,7 @@ function processFireworksModels(provider: ModelsDevProvider | undefined): Model<
|
|||
maxTokens: model.limit?.output || 4096,
|
||||
};
|
||||
|
||||
if (modelId.includes("glm-5p2")) {
|
||||
if (modelId.includes("glm-")) {
|
||||
models.push({
|
||||
...common,
|
||||
api: "openai-completions",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue