feat(python/omp-rpc): added effort-based model thinking config parsing

- Updated `ThinkingConfig` and related types to model effort-based thinking settings with optional defaults and routing metadata.
- Added a dedicated parser for `model.thinking` payloads to validate efforts and normalize new optional thinking fields.
- Extended protocol tests to verify effort-based thinking data is parsed correctly and unknown efforts are rejected.
This commit is contained in:
can1357
2026-06-14 08:29:38 +02:00
parent 2ef7b7929b
commit c4ed34ea6c
3 changed files with 85 additions and 29 deletions
+2
View File
@@ -50,6 +50,7 @@ from .protocol import (
CompactionSummaryMessage,
CustomMessage,
DeveloperMessage,
Effort,
ExtensionError,
ExtensionUiRequest,
FileMentionMessage,
@@ -114,6 +115,7 @@ __all__ = [
"CompactionSummaryMessage",
"CustomMessage",
"DeveloperMessage",
"Effort",
"ExtensionError",
"ExtensionErrorListener",
"ExtensionUiRequest",