Implement remaining code review suggestions
- Add graceful shutdown with SIGTERM/SIGINT handling\n- Make model list configurable via config.yaml\n- Remove sensitive data from debug logs (log sizes instead of full bodies)\n- Handle array format in system messages (both string and []interface{})\n- Update config.yaml with new models structure
This commit is contained in:
parent
f65ad6b189
commit
cea246da83
5 changed files with 60 additions and 12 deletions
|
|
@ -1,2 +1,8 @@
|
|||
port: 8080
|
||||
upstream_url: "https://api.z.ai/api/anthropic"
|
||||
|
||||
models:
|
||||
- id: "glm-4.7"
|
||||
owned_by: "zhipu"
|
||||
- id: "glm-4.6"
|
||||
owned_by: "zhipu"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue