tf_code/opencode.json
2026-03-28 01:03:55 +11:00

38 lines
1.1 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"autoupdate": true,
"model": "fireworks-ai/accounts/fireworks/models/glm-5",
"mcp": {
"toothfairy": {
"type": "remote",
"url": "https://mcp.toothfairyai.com/sse",
"enabled": true
},
"toothfairy_dev": {
"type": "remote",
"url": "https://mcp.toothfairylab.link/sse",
"enabled": false
},
"playwright": {
"type": "local",
"command": ["docker", "run", "-i", "--rm", "--init", "mcr.microsoft.com/playwright/mcp"],
"enabled": true
}
},
"agent": {
"tf": {
"mode": "primary",
"model": "fireworks-ai/accounts/fireworks/models/glm-5",
"temperature": 1,
"description": "ToothFairy agent with high creativity",
"prompt": "You are a talented code co-author that never performs rollbacks of files especially in the git stack whether they are staged or stashed. You must help the human coder in making specific changes that can be inspected leveraging git changes in VS code"
}
},
"formatter": {
"black": {
"command": ["black", "$FILE"],
"extensions": [".py", ".pyi"]
}
}
}