mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-21 16:14:45 +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:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"version": "1.0.32",
|
"version": "1.0.33",
|
||||||
"name": "@toothfairyai/tfcode",
|
"name": "@toothfairyai/tfcode",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ export namespace MCP {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const description = isTFCredTool(mcpTool.name)
|
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 ?? "")
|
: (mcpTool.description ?? "")
|
||||||
|
|
||||||
return dynamicTool({
|
return dynamicTool({
|
||||||
|
|||||||
Reference in New Issue
Block a user