Remove GLM-4.7 model configuration and system prompts
eranet111
75cd98e
Removes the "GLM-4.7" entry from `modelAliases` and `noThinkingModels` in `main.go`, and deletes its corresponding system prompt from `prompts.go`.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a225ab96-d6aa-42ce-a50b-aa844bc8db2b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 78f91b48-8208-4b4b-a5fe-50a216a4adb5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/cbd1ae84-d682-4025-b26d-c56df1ac13a1/a225ab96-d6aa-42ce-a50b-aa844bc8db2b/jm4hNZf
Replit-Helium-Checkpoint-Created: true
Ensure all model response chunks are streamed without filtering
eranet111
b99d1e9
Remove logic that filtered out streaming chunks, ensuring all content, including thinking tokens, is passed through to the client.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a225ab96-d6aa-42ce-a50b-aa844bc8db2b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: d0de45b0-d639-4150-bca9-9b990b65bda9
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/cbd1ae84-d682-4025-b26d-c56df1ac13a1/a225ab96-d6aa-42ce-a50b-aa844bc8db2b/jm4hNZf
Replit-Helium-Checkpoint-Created: true
Add ability to disable thinking for specific AI models
eranet111
0a47b2f
Add a map `noThinkingModels` to `main.go` and conditionally set `"thinking": false` in upstream API payloads for `z-ai/glm4.7` and `deepseek-ai/deepseek-v3.1` in both `callUpstream` and `streamUpstream` functions.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a225ab96-d6aa-42ce-a50b-aa844bc8db2b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 502cbfc3-2e91-4c43-97e7-a3613d76783b
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/cbd1ae84-d682-4025-b26d-c56df1ac13a1/a225ab96-d6aa-42ce-a50b-aa844bc8db2b/jm4hNZf
Replit-Helium-Checkpoint-Created: true
Add native function calling and agentic loop for all models
eranet111
b3ab639
Refactor main.go to implement native function calling for all models, introduce an agentic loop for tools with `x-endpoint`, and support both streaming and non-streaming responses.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a225ab96-d6aa-42ce-a50b-aa844bc8db2b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 89abe5cc-56f8-4be5-8720-0ed0d1873457
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/cbd1ae84-d682-4025-b26d-c56df1ac13a1/a225ab96-d6aa-42ce-a50b-aa844bc8db2b/jm4hNZf
Replit-Helium-Checkpoint-Created: true
Add function calling support and remove outdated processes
eranet111
f438287
Implement full OpenAPI function calling for all models with an agentic execution loop and prompt engineering fallback for unsupported models. Also, remove legacy processes.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a225ab96-d6aa-42ce-a50b-aa844bc8db2b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 2c19a569-11f7-45e9-9b74-8b2bb97a3a12
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/cbd1ae84-d682-4025-b26d-c56df1ac13a1/a225ab96-d6aa-42ce-a50b-aa844bc8db2b/jm4hNZf
Replit-Helium-Checkpoint-Created: true
Add Go application for language model API integration
eranet111
c692a27
Includes Dockerfile, Go source files, and system prompt configurations for various language models.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a225ab96-d6aa-42ce-a50b-aa844bc8db2b
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 1cc7f8b3-a45e-4310-9695-c467601f5908
Replit-Helium-Checkpoint-Created: true