mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-19 07:04:40 +00:00
Bump to 1.0.33: instruct agent NOT to ask for TF credentials
Direct instruction in tool description: 'Do NOT ask for api_key, workspace_id, or region. These are automatically loaded from ~/.tfcode/credentials.json.'
This commit is contained in:
@@ -149,7 +149,7 @@ export namespace MCP {
|
||||
}
|
||||
|
||||
const description = isTFCredTool(mcpTool.name)
|
||||
? `${mcpTool.description ?? ""}\n\nNote: api_key, workspace_id, and region are optional. If not provided, they will be automatically loaded from stored credentials (run 'tfcode validate' first).`
|
||||
? `${mcpTool.description ?? ""}\n\nIMPORTANT: Do NOT ask for api_key, workspace_id, or region. These are automatically loaded from ~/.tfcode/credentials.json. Just call this tool without those parameters.`
|
||||
: (mcpTool.description ?? "")
|
||||
|
||||
return dynamicTool({
|
||||
|
||||
Reference in New Issue
Block a user