Files
picoclaw/pkg/tools
I Putu Eddy Irawan ee5b61884a fix: migration ModelName, reasoning_content, shell regex, loop boundary
1. migration.go: Set ModelName to userModel when provider matches so
   GetModelConfig(userModel) can find the entry. Previously the migration
   created entries with the provider name as ModelName (e.g. "moonshot")
   but lookup used the model name (e.g. "k2p5"), causing "model not found".

2. openai_compat/provider.go: Preserve reasoning_content in conversation
   history. Thinking models (e.g. Kimi K2, DeepSeek-R1) return
   reasoning_content which must be echoed back. Without it, APIs return
   400: "thinking is enabled but reasoning_content is missing".

3. shell.go: Fix deny pattern regex for format/mkfs/diskpart to use
   (?:^|\s) instead of \b to avoid matching --format flags.
   Fix path extraction regex to use submatch to avoid matching flags
   like -rf as paths.

4. loop.go: Adjust forceCompression mid-point to avoid splitting
   tool-call/result message pairs, which causes API errors.
2026-03-01 08:44:15 +07:00
..
2026-02-18 21:48:23 +02:00
2026-02-20 22:35:16 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-20 20:03:11 +02:00
2026-02-18 21:48:23 +02:00
2026-02-18 21:48:23 +02:00
2026-02-25 21:14:19 +11:00
2026-02-18 21:48:23 +02:00
2026-02-26 20:44:03 +11:00