Files
droid2api/config.json
1e0n 43803ca9da Add common endpoint support and system prompt injection, v1.1.0
- Add common endpoint type for GLM-4.6 model
- Implement automatic system prompt injection for all requests
- Simplify README documentation for better user focus
- Update version to 1.1.0
- Add *.txt to .gitignore

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2025-10-07 21:06:28 +08:00

52 lines
1.0 KiB
JSON

{
"port": 3000,
"endpoint": [
{
"name": "openai",
"base_url": "https://app.factory.ai/api/llm/o/v1/responses"
},
{
"name": "anthropic",
"base_url": "https://app.factory.ai/api/llm/a/v1/messages"
},
{
"name": "common",
"base_url": "https://app.factory.ai/api/llm/o/v1/chat/completions"
}
],
"models": [
{
"name": "Opus 4.1",
"id": "claude-opus-4-1-20250805",
"type": "anthropic"
},
{
"name": "Sonnet 4",
"id": "claude-sonnet-4-20250514",
"type": "anthropic"
},
{
"name": "Sonnet 4.5",
"id": "claude-sonnet-4-5-20250929",
"type": "anthropic"
},
{
"name": "GPT-5",
"id": "gpt-5-2025-08-07",
"type": "openai"
},
{
"name": "GPT-5-Codex",
"id": "gpt-5-codex",
"type": "openai"
},
{
"name": "GLM-4.6",
"id": "glm-4.6",
"type": "common"
}
],
"dev_mode": false,
"system_prompt": "You are Droid, an AI software engineering agent built by Factory.\n\n"
}