mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
remove hardcoded openrouter provider
This commit is contained in:
parent
9bd6be5c6d
commit
23a721f0a2
@ -516,12 +516,6 @@ export namespace Provider {
|
||||
continue
|
||||
}
|
||||
|
||||
// TODO: set this in models.dev, not set due to breaking issues on older OC versions
|
||||
// u have to set include usage to true w/ this provider, setting in models.dev would cause undefined issue when accessing usage in older versions
|
||||
if (providerID === "openrouter") {
|
||||
provider.info.npm = "@openrouter/ai-sdk-provider"
|
||||
}
|
||||
|
||||
log.info("found", { providerID, npm: provider.info.npm })
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user