mycode-sdk 0.11.0__tar.gz → 0.11.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/PKG-INFO +1 -1
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/pyproject.toml +1 -1
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/agent.py +4 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/models_catalog.json +367 -225
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/providers/__init__.py +9 -1
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/providers/anthropic_like.py +11 -5
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/providers/gemini.py +1 -1
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/providers/openai_chat.py +25 -2
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/.gitignore +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/LICENSE +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/README.md +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/__init__.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/attachments.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/compact.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/hooks.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/messages.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/models.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/providers/base.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/providers/openai_responses.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/py.typed +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/session.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/tools.py +0 -0
- {mycode_sdk-0.11.0 → mycode_sdk-0.11.2}/src/mycode/utils.py +0 -0
|
@@ -87,6 +87,7 @@ class Agent:
|
|
|
87
87
|
compact_threshold: float | None = None,
|
|
88
88
|
reasoning_effort: str | None = None,
|
|
89
89
|
supports_reasoning: bool | None = None,
|
|
90
|
+
supports_reasoning_effort: bool = False,
|
|
90
91
|
supports_image_input: bool | None = None,
|
|
91
92
|
supports_pdf_input: bool | None = None,
|
|
92
93
|
system: str = "",
|
|
@@ -127,6 +128,9 @@ class Agent:
|
|
|
127
128
|
self.temperature = float(temperature)
|
|
128
129
|
self.compact_threshold = compact_threshold if compact_threshold is not None else DEFAULT_COMPACT_THRESHOLD
|
|
129
130
|
self.reasoning_effort = reasoning_effort
|
|
131
|
+
# Whether the endpoint accepts the effort knob. Comes from provider
|
|
132
|
+
# config, not the catalog, so it stays out of refresh_capabilities.
|
|
133
|
+
self.supports_reasoning_effort = supports_reasoning_effort
|
|
130
134
|
|
|
131
135
|
self.system = system
|
|
132
136
|
self.hooks = hooks or Hooks()
|