picoclaw/pkg
徐闻涵0668001344 5b41f18c3d fix(gemini): set both camelCase and snake_case thought_signature in tool call request body
The Gemini HTTP API provider only set thoughtSignature (camelCase) when
building tool call request bodies. Gemini 2.5 models accept camelCase,
but Gemini 3.5 Flash Agentic reasoning requires thought_signature
(snake_case) — matching the format it returns in API responses. When
only the camelCase variant was sent, Gemini 3.5 Flash rejected the
request with a 400 Bad Request for missing thought_signature.

The fix sets both ThoughtSignature and ThoughtSignatureSnake in the
geminiPart struct, matching the pattern already used in
antigravity_provider.go. This ensures compatibility with both Gemini
2.x (camelCase) and Gemini 3.x Agentic (snake_case) models.

Closes #3111
2026-06-16 20:51:59 +08:00
..
agent Merge pull request #2904 from SiYue-ZO/feature/fix-agent-loop-stability 2026-06-14 21:22:53 +02:00
audio fix(tts): handle io.ReadAll error in error response path 2026-06-14 23:46:13 +08:00
auth fix(auth): canonicalize Google Antigravity provider and enhance credential management (#2599) 2026-04-21 16:28:29 +08:00
bus Merge pull request #2904 from SiYue-ZO/feature/fix-agent-loop-stability 2026-06-14 21:22:53 +02:00
channels Merge pull request #2904 from SiYue-ZO/feature/fix-agent-loop-stability 2026-06-14 21:22:53 +02:00
commands fix(context): expose history tokens and remove leaked state files 2026-06-06 00:28:32 +08:00
config Merge pull request #3067 from SiYue-ZO/fix/session-dm-scope-save 2026-06-11 18:34:02 +02:00
constants refactor: replace bool map with set-style map for internal channels (#472) 2026-02-19 11:48:17 +01:00
credential refactor config and security to simplified the structure (#2068) 2026-03-28 00:03:34 +08:00
cron feat(cron): add get and update actions to cron tool 2026-05-31 10:55:54 +08:00
devices refactor(runtime): drop non-session legacy context compatibility 2026-04-01 20:56:48 +08:00
events feat(bus): add backpressure drop budget for audio streams only 2026-06-11 13:55:56 +08:00
evolution fix(evolution): capture Close() error on write file in appendJSONLRecords 2026-06-14 23:42:44 +08:00
fileutil Merge pull request #1829 from perhapzz/test/add-fileutil-health-tests 2026-03-26 10:42:13 +01:00
gateway fix: health check always returning not ready 2026-06-08 12:14:06 +02:00
health fix(host): modernize default host selection order 2026-04-14 14:03:23 +08:00
heartbeat refactor(runtime): drop non-session legacy context compatibility 2026-04-01 20:56:48 +08:00
identity fix(identity): support negative integers in isNumeric for Telegram group IDs 2026-03-21 17:09:02 +07:00
isolation fix: add ok checks for sync.Map LoadAndDelete/Load type assertions 2026-06-06 21:17:07 +08:00
logger unify all panic event to panic log file (#2250) 2026-04-01 23:26:49 +08:00
mcp fix: use %w instead of %v for error wrapping 2026-06-08 09:10:14 +08:00
media Fix 1886 media cleanup policy (#1887) 2026-03-23 12:13:59 +08:00
memory fix(session): tighten main-session alias detection to exact 3-part format 2026-06-04 11:01:10 +08:00
migrate fix: check Close() error after io.Copy to writable files 2026-06-07 12:09:01 +08:00
netbind fix(web): address latest Copilot review points 2026-04-14 23:39:59 +08:00
pid fix(pid): verify process identity in singleton PID check 2026-06-04 20:04:51 +08:00
providers fix(gemini): set both camelCase and snake_case thought_signature in tool call request body 2026-06-16 20:51:59 +08:00
routing feat(routing): add ordered dispatch rules 2026-04-01 22:13:04 +08:00
seahorse Merge pull request #3065 from chengzhichao-xydt/codex/short-engine-close-errors 2026-06-13 18:19:35 +02:00
session fix(seahorse,session): preserve created_at across history bootstrap 2026-05-26 14:05:20 +08:00
skills feat: agent self evolution (#2847) 2026-05-11 16:13:27 +08:00
state refactor: replace log.Printf/fmt.Printf with structured logger 2026-06-08 09:18:02 +08:00
tokenizer feat(seahorse): implement short-term memory engine (LCM) (#2285) 2026-04-05 09:05:16 +08:00
tools fix(filesystem): explicitly ignore Close() error on directory file descriptor 2026-06-14 23:45:48 +08:00
updater fix: check Close() errors in updater extraction functions 2026-06-06 21:34:24 +08:00
utils fix(utils): add ok checks for http.Transport type assertions in CreateHTTPClient 2026-06-11 09:45:14 +08:00
env.go Merge branch 'main' into version 2026-03-19 18:04:58 +08:00