mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 08:21:50 +00:00
feat(opencode): Venice Add automatic variant generation for Venice models (#12106)
This commit is contained in:
parent
81ca2df6ad
commit
bf5a01edd9
1 changed files with 2 additions and 0 deletions
|
|
@ -401,6 +401,8 @@ export namespace ProviderTransform {
|
|||
// https://v5.ai-sdk.dev/providers/ai-sdk-providers/xai
|
||||
case "@ai-sdk/deepinfra":
|
||||
// https://v5.ai-sdk.dev/providers/ai-sdk-providers/deepinfra
|
||||
case "venice-ai-sdk-provider":
|
||||
// https://docs.venice.ai/overview/guides/reasoning-models#reasoning-effort
|
||||
case "@ai-sdk/openai-compatible":
|
||||
return Object.fromEntries(WIDELY_SUPPORTED_EFFORTS.map((effort) => [effort, { reasoningEffort: effort }]))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue