Xubin Ren
8cf11a0291
fix: preserve image paths in fallback and session history
2026-03-17 22:37:09 +08:00
Xubin Ren
c4628038c6
fix: handle image_url rejection by retrying without images
...
Replace the static provider-level supports_vision check with a
reactive fallback: when a model returns an image-unsupported error,
strip image_url blocks from messages and retry once. This avoids
maintaining an inaccurate vision capability table and correctly
handles gateway/unknown model scenarios.
Also extract _safe_chat() to deduplicate try/except boilerplate
in chat_with_retry().
2026-03-15 22:32:34 +08:00
Re-bin
0a0017ff45
fix: raise tool result history limit to 16k and force save_memory in consolidation
2026-03-12 03:08:53 +00:00
Re-bin
9fc74bde9a
Merge remote-tracking branch 'origin/main' into pr-1874
2026-03-11 15:26:39 +00:00
Re-bin
c72c2ce7e2
refactor: move generation settings to provider level, eliminate parameter passthrough
2026-03-11 09:47:04 +00:00
WhalerO
6ef7ab53d0
refactor: centralize tool call serialization in ToolCallRequest
2026-03-11 15:32:43 +08:00
WhalerO
ed82f95f0c
fix: preserve provider-specific tool call metadata for Gemini
2026-03-11 15:32:26 +08:00
Re-bin
b0a5435b87
refactor(llm): share transient retry across agent paths
2026-03-10 10:10:37 +00:00
Re-bin
576ad12ef1
fix(azure): sanitize messages and handle temperature
2026-03-07 03:57:57 +00:00
Re-bin
3c79404194
fix(providers): sanitize thinking_blocks by provider and harden content normalization
2026-03-02 06:58:10 +00:00
Jack Lu
3ee061b879
Merge branch 'main' into main
2026-03-01 13:35:24 +08:00
Re-bin
5ca386ebf5
fix: preserve reasoning_content and thinking_blocks in session history
2026-02-28 17:37:12 +00:00
Re-bin
f9d72e2e74
feat: add reasoning_effort config to enable LLM thinking mode
2026-02-28 17:18:05 +00:00
JK_Lu
977ca725f2
style: unify code formatting and import order
...
- Remove trailing whitespace and normalize blank lines
- Unify string quotes and line breaks for long lines
- Sort imports alphabetically across modules
2026-02-28 20:55:43 +08:00
Re-bin
b653183bb0
refactor(providers): move empty content sanitization to base class
2026-02-22 18:26:42 +00:00
Re-bin
2931694eb8
fix: preserve reasoning_content in conversation history for thinking models
2026-02-08 18:37:41 +00:00
Re-bin
d4cc48afd5
🐈 nanobot: hello world!
2026-02-01 07:36:42 +00:00