feat: tfcode

This commit is contained in:
Gab
2026-03-24 23:27:38 +11:00
parent 2ae12f8d6b
commit 3fe808d64c
6 changed files with 157 additions and 10 deletions

View File

@@ -348,6 +348,9 @@ export namespace ProviderTransform {
)
return {}
// ToothFairyAI doesn't support thinking/reasoning parameters yet
if (model.api.npm === "@toothfairyai/sdk") return {}
// see: https://docs.x.ai/docs/guides/reasoning#control-how-hard-the-model-thinks
if (id.includes("grok") && id.includes("grok-3-mini")) {
if (model.api.npm === "@openrouter/ai-sdk-provider") {