feat: releases

This commit is contained in:
Gab
2026-03-24 22:12:30 +11:00
parent d716f9a6d6
commit 2ae12f8d6b
10 changed files with 217 additions and 53 deletions

View File

@@ -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")
}