mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-04 16:13:11 +00:00
feat: releases
This commit is contained in:
@@ -109,6 +109,13 @@ export namespace LLM {
|
||||
mergeDeep(input.agent.options),
|
||||
mergeDeep(variant),
|
||||
)
|
||||
|
||||
// Remove TF-specific options for non-ToothFairyAI providers
|
||||
if (input.model.providerID !== "toothfairyai") {
|
||||
delete options.tf_agent_id
|
||||
delete options.tf_auth_via
|
||||
}
|
||||
|
||||
if (isOpenaiOauth) {
|
||||
options.instructions = system.join("\n")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user