Commit Graph

4 Commits

Author SHA1 Message Date
lutc5
e88856e1fc Improve remote endpoint detection 2026-04-30 12:57:47 +08:00
lutc5
74bbd8e6d2 feat: add OpenAI/Anthropic tools support with tool emulation
- Parse tools/tool_choice from OpenAI and Anthropic requests
- Inject tool definitions into system prompt via toolemulation
- Parse action blocks (```json action) from model responses
- Retry logic for forced tool_choice (any/required)
- Return proper tool_calls / tool_use in responses
- Support streaming tools via collect-and-replay pattern
- Add tool history projection (assistant tool_calls + tool results)
- Model ID normalization: use official names (Qwen3.6-Plus, etc.)
- Fix resolveSessionMode to use Fresh mode when tools present
2026-04-25 13:37:58 +08:00
coolxll
eded45eb5d feat: auto-discover Lingma transport endpoints 2026-03-26 09:55:56 +08:00
coolxll
c184c2a5e6 feat: add websocket transport support 2026-03-26 09:37:00 +08:00