openclaw/src/agents/pi-embedded-helpers
zerone0x d51eca64cc fix(agents): make tool call ID sanitization conditional with standard/strict modes
- Add ToolCallIdMode type ('standard' | 'strict') for provider compatibility
- Standard mode (default): allows [a-zA-Z0-9_-] for readable session logs
- Strict mode: only [a-zA-Z0-9] for Mistral via OpenRouter
- Update sanitizeSessionMessagesImages to accept toolCallIdMode option
- Export ToolCallIdMode from pi-embedded-helpers barrel

Addresses review feedback on PR #1372 about readability.
2026-01-22 00:41:22 +00:00
..
bootstrap.ts chore: run format and fix sandbox browser timeouts 2026-01-16 09:18:58 +00:00
errors.ts fix: avoid context-window-too-small misclassification (#1266, thanks @humanwritten) 2026-01-20 10:07:05 +00:00
google.ts fix: drop obsolete pi-mono workarounds 2026-01-21 19:58:19 +00:00
images.ts fix(agents): make tool call ID sanitization conditional with standard/strict modes 2026-01-22 00:41:22 +00:00
messaging-dedupe.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
thinking.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
turns.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
types.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00