Siarhei Krotau
972bc1661c
feat(providers): add Z.ai Coding Plan provider ( #440 )
CI / checks (push) Waiting to run
2026-05-13 12:02:15 -07:00
Rizki Kotet
32e2e4d755
feat(opencode): integrate OpenCode Zen provider and API key support ( #426 )
CI / checks (push) Waiting to run
2026-05-12 08:44:54 -07:00
Alishahryar1
29e7714337
feat(logging): structured TRACE events and end-to-end request correlation
...
Add core/trace.py with trace_event, traced_async_stream, and payload snapshots.
Merge TRACE fields into JSON logs; promote claude_session_id, http path/method.
Instrument API, messaging/CLI, and OpenAI-compat/native provider paths.
Harden log sink with enqueue and stdlib intercept re-entrancy guard.
Document behavior in .env.example and README; extend tests.
2026-05-10 18:24:48 -07:00
Alishahryar1
6297b48f81
feat(deepseek): use native Anthropic Messages transport
...
- Point DeepSeek at api.deepseek.com/anthropic with x-api-key headers
- Native request builder, DeepSeek-specific thinking/block sanitization
- Drop deepseek from OpenAI-chat server-tool preflight; update tests and docs
- Default smoke model deepseek-v4-pro; re-export dump_raw_messages_request
2026-04-26 12:03:21 -07:00
Alishahryar1
f3a7528d49
Major refactor: API, providers, messaging, and Anthropic protocol
...
CI / checks (push) Waiting to run
Consolidates the incremental refactor work into a single change set: modular web tools (api/web_tools), native Anthropic request building and SSE block policy, OpenAI conversion and error handling, provider transports and rate limiting, messaging handler and tree queue, safe logging, smoke tests, and broad test coverage.
2026-04-26 03:01:14 -07:00
Alishahryar1
f29e693dc5
Add per-model thinking toggles
2026-04-25 20:51:07 -07:00
Alishahryar1
b926f60f64
feat: Anthropic web server tools, provider metadata, messaging hardening
...
- Add local web_search/web_fetch SSE handling and optional tool schemas
- Extend HeuristicToolParser for JSON-style WebFetch/WebSearch text
- Consolidate provider defaults, ids, and exception typing; stream contracts
- Messaging: typed options, voice config injection, platform contract cleanup
- Tests for web server tools, converters, parsers, contracts; ignore debug-*.log
2026-04-24 23:01:14 -07:00
Alishahryar1
0e3b2c24b4
refactor: remove OpenRouter rollback, shims, and redundant layers
...
- OpenRouter: native Anthropic only; remove chat_request and OPENROUTER_TRANSPORT
- Drop OpenAICompatibleProvider alias, api.request_utils, voice_pipeline facade
- Simplify OpenRouter SSE, generic reasoning in conversion, messaging dispatch
- Shared markdown table helpers; API optimization response helper; contract guards
- Restore PLAN.md; update docs and tests
2026-04-24 21:08:38 -07:00
Alishahryar1
26b8a29537
Architecture refactor: core anthropic, runtime, smoke tiers, remove providers.common
2026-04-24 20:03:14 -07:00
Alishahryar1
66ef23072c
Refactor provider routing and smoke coverage
2026-04-24 19:34:34 -07:00