Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/workshop-backend/src/ai-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,9 @@ function getModelDirect(config: AiModelConfig, sessionAffinity?: string): ModelH
input: ["text", "image"],
cost: ZERO_COST,
...window,
// Ollama Cloud 500s when a request carries both a `developer` message and an image; pi
// picks that role because we report reasoning: true above, so pin the role, not the flag.
compat: { supportsDeveloperRole: false } satisfies OpenAICompletionsCompat,
},
...(config.apiToken === ""
? { apiKey: "unused", headers: { Authorization: null } }
Expand Down
Loading