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>
This commit is contained in:
1e0n
2025-10-07 21:06:28 +08:00
parent 5fc2df4cd7
commit 43803ca9da
9 changed files with 260 additions and 363 deletions

View File

@@ -8,6 +8,10 @@
{
"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": [
@@ -35,7 +39,13 @@
"name": "GPT-5-Codex",
"id": "gpt-5-codex",
"type": "openai"
},
{
"name": "GLM-4.6",
"id": "glm-4.6",
"type": "common"
}
],
"dev_mode": false
"dev_mode": false,
"system_prompt": "You are Droid, an AI software engineering agent built by Factory.\n\n"
}