ms-tau-sdk 2.0.31.dev94__tar.gz → 2.0.32.dev95__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.
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/CHANGELOG.md +16 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/PKG-INFO +1 -1
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/pyproject.toml +1 -1
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/providers/factory.py +91 -35
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/.gitignore +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/README.md +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/app.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/cli.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/config.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/env_file.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/logs.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/proxy.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/state.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/static/BULMA-LICENSE.txt +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/static/app.js +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/static/board.css +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/static/bulma.min.css +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/static/index.html +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/agent_skills/design-agent-icons-and-motion/SKILL.md +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/agent_skills/design-agent-icons-and-motion/agents/openai.yaml +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/agent_skills/design-agent-icons-and-motion/references/metatables-example.html +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/agent_skills/tau_a2a_runtime_adapter/SKILL.md +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/agent_skills/tau_local_development/SKILL.md +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/agent_skills/tau_project_customization/SKILL.md +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/agent_skills/tau_repository_integration/SKILL.md +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/agent_skills/tau_security_and_access/SKILL.md +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/a2a.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/chat.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/conversations.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/dependencies.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/health.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/inspection.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/local_chat.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/models.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/request_identity.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/api/sessions.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/app.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/application.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/assertions.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/auth.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/client.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/hydrate_endpoint.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/local.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/mcp.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/models.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/release_access.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/routes.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/team_memberships.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/cli.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/errors.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/logging.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/a2a_failure.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/a2a_message.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/a2a_roles.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/assistant_ui.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/caller_context.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/chat_history.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/strict_json.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/providers/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/providers/definitions.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/providers/tau_compat.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/resources/SYSTEM.md +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/resources/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/resources/context_compat.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/resources/loader.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/resources/prompts/review-code-repository.md +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/resources/selection.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/deployment_health.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/events.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/extensions.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/failures.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/live_turns.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/manager.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/observability.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/provenance.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/requester.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/session.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/snapshots.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/task_context.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/sessions/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/sessions/storage.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/settings.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/skills.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/tools/__init__.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/tools/mainsequence_mcp.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/tools/mcp_applications.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/tools/mcp_connection.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/tools/skill_read.py +0 -0
- {ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/tools/task_control.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.32 — 2026-11-10
|
|
4
|
+
|
|
5
|
+
- **A model Tau does not list runs from the provider control.** A session on a model that the
|
|
6
|
+
runtime's pinned tau-ai release does not list, of a provider it knows, used to fail its load
|
|
7
|
+
with `Model is not configured for provider <provider>: <model>` after its credential and
|
|
8
|
+
provider control had been hydrated, so every model a provider released waited for a tau-ai
|
|
9
|
+
release and a pin bump; tau-ai 0.4.10 still lists no `gpt-6` Codex model. Now such a model runs
|
|
10
|
+
on the provider's own Tau transport and address from the hydrated provider control, as a
|
|
11
|
+
provider Tau does not know already does: with the projected inputs, within text and image, and
|
|
12
|
+
the projected thinking levels, mapped at provider level. A projected transport other than the
|
|
13
|
+
provider's, inputs outside text and image, or thinking levels on a non-reasoning model are still
|
|
14
|
+
refused, and so is an image for a model whose projection lacks image input. A listed model is
|
|
15
|
+
validated exactly as before, with Tau's metadata. The load logs
|
|
16
|
+
`providers.model_outside_tau_catalog` once, without credential values. See
|
|
17
|
+
[ADR 0029](docs/adrs/0029-models-tau-does-not-list-run-from-the-provider-control.md).
|
|
18
|
+
|
|
3
19
|
## 2.0.31 — 2026-11-10
|
|
4
20
|
|
|
5
21
|
- **A local session changes model without hydrating the model it leaves.** Selecting a model for a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: ms-tau-sdk
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.32.dev95
|
|
4
4
|
Summary: Workspace-bound Tau application primitives for Main Sequence projects
|
|
5
5
|
Project-URL: Changelog, https://github.com/mainsequence-sdk/ms-tau-sdk/blob/development/CHANGELOG.md
|
|
6
6
|
Project-URL: Documentation, https://github.com/mainsequence-sdk/ms-tau-sdk/tree/development/docs
|
|
@@ -171,6 +171,62 @@ class ProviderFactory:
|
|
|
171
171
|
)
|
|
172
172
|
)
|
|
173
173
|
|
|
174
|
+
@staticmethod
|
|
175
|
+
def model_outside_tau_catalog(provider_name: str, model: str) -> bool:
|
|
176
|
+
"""Whether this runtime's Tau catalog lists neither the provider nor the model."""
|
|
177
|
+
provider = CATALOG_BY_NAME.get(provider_name)
|
|
178
|
+
return provider is None or model not in provider.models
|
|
179
|
+
|
|
180
|
+
def _validate_projected_execution(
|
|
181
|
+
self,
|
|
182
|
+
provider_control: ProviderControl,
|
|
183
|
+
*,
|
|
184
|
+
provider_name: str,
|
|
185
|
+
model: str,
|
|
186
|
+
thinking_level: str | None,
|
|
187
|
+
normalized_thinking: ThinkingLevel,
|
|
188
|
+
media_types: set[str] | None,
|
|
189
|
+
scope: str,
|
|
190
|
+
) -> ThinkingLevel:
|
|
191
|
+
"""Validate a model Tau has no metadata for from its provider control alone.
|
|
192
|
+
|
|
193
|
+
A provider this Tau does not know, and a model this Tau does not list of a provider it
|
|
194
|
+
knows (ADR 0029), run from the platform's projection: the inputs it projects, bounded by
|
|
195
|
+
what every Tau transport carries, and the thinking levels it projects. ``scope`` names
|
|
196
|
+
which of the two a refusal is about.
|
|
197
|
+
"""
|
|
198
|
+
projected_inputs = set(provider_control.model.input)
|
|
199
|
+
if not projected_inputs or not projected_inputs.issubset(CUSTOM_INPUT_KINDS):
|
|
200
|
+
raise ConfigurationError(
|
|
201
|
+
f"Platform provider-control input capabilities are invalid for {scope}"
|
|
202
|
+
)
|
|
203
|
+
projected_thinking = set(provider_control.model.thinking_levels)
|
|
204
|
+
if not provider_control.model.reasoning and projected_thinking:
|
|
205
|
+
raise ConfigurationError(
|
|
206
|
+
"Platform provider-control thinking levels contradict the reasoning "
|
|
207
|
+
f"capability of {scope}"
|
|
208
|
+
)
|
|
209
|
+
self.validate_input_media(
|
|
210
|
+
provider_control,
|
|
211
|
+
media_types=media_types or set(),
|
|
212
|
+
)
|
|
213
|
+
if thinking_level and normalized_thinking in projected_thinking:
|
|
214
|
+
return normalized_thinking
|
|
215
|
+
if not projected_thinking or not provider_control.model.reasoning:
|
|
216
|
+
default = DEFAULT_THINKING_LEVEL
|
|
217
|
+
elif DEFAULT_THINKING_LEVEL in projected_thinking:
|
|
218
|
+
default = DEFAULT_THINKING_LEVEL
|
|
219
|
+
elif "off" in projected_thinking:
|
|
220
|
+
default = "off"
|
|
221
|
+
else:
|
|
222
|
+
default = provider_control.model.thinking_levels[0]
|
|
223
|
+
return _fall_back(
|
|
224
|
+
default,
|
|
225
|
+
selected=normalized_thinking if thinking_level else None,
|
|
226
|
+
provider_name=provider_name,
|
|
227
|
+
model=model,
|
|
228
|
+
)
|
|
229
|
+
|
|
174
230
|
def validate_execution(
|
|
175
231
|
self,
|
|
176
232
|
provider_control: ProviderControl,
|
|
@@ -200,41 +256,14 @@ class ProviderFactory:
|
|
|
200
256
|
f"Provider {provider_name} is not in this runtime's Tau catalog and uses "
|
|
201
257
|
f"unsupported Tau API transport {projected_api}"
|
|
202
258
|
)
|
|
203
|
-
|
|
204
|
-
if not projected_inputs or not projected_inputs.issubset(CUSTOM_INPUT_KINDS):
|
|
205
|
-
raise ConfigurationError(
|
|
206
|
-
"Platform provider-control input capabilities are invalid for a provider "
|
|
207
|
-
"not in this runtime's Tau catalog"
|
|
208
|
-
)
|
|
209
|
-
projected_thinking = set(provider_control.model.thinking_levels)
|
|
210
|
-
if not provider_control.model.reasoning and projected_thinking:
|
|
211
|
-
raise ConfigurationError(
|
|
212
|
-
"Platform provider-control thinking levels contradict the reasoning "
|
|
213
|
-
"capability of a model not in this runtime's Tau catalog"
|
|
214
|
-
)
|
|
215
|
-
self.validate_input_media(
|
|
259
|
+
return self._validate_projected_execution(
|
|
216
260
|
provider_control,
|
|
217
|
-
media_types=media_types or set(),
|
|
218
|
-
)
|
|
219
|
-
if thinking_level and normalized_thinking in projected_thinking:
|
|
220
|
-
return normalized_thinking
|
|
221
|
-
if not projected_thinking or not provider_control.model.reasoning:
|
|
222
|
-
default = DEFAULT_THINKING_LEVEL
|
|
223
|
-
elif DEFAULT_THINKING_LEVEL in projected_thinking:
|
|
224
|
-
default = DEFAULT_THINKING_LEVEL
|
|
225
|
-
elif "off" in projected_thinking:
|
|
226
|
-
default = "off"
|
|
227
|
-
else:
|
|
228
|
-
default = provider_control.model.thinking_levels[0]
|
|
229
|
-
return _fall_back(
|
|
230
|
-
default,
|
|
231
|
-
selected=normalized_thinking if thinking_level else None,
|
|
232
261
|
provider_name=provider_name,
|
|
233
262
|
model=model,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
263
|
+
thinking_level=thinking_level,
|
|
264
|
+
normalized_thinking=normalized_thinking,
|
|
265
|
+
media_types=media_types,
|
|
266
|
+
scope="a provider not in this runtime's Tau catalog",
|
|
238
267
|
)
|
|
239
268
|
metadata = provider.model_metadata.get(model)
|
|
240
269
|
tau_api = (
|
|
@@ -250,6 +279,19 @@ class ProviderFactory:
|
|
|
250
279
|
f"Provider {provider_name} uses unsupported or contradictory "
|
|
251
280
|
f"Tau API transport {projected_api}"
|
|
252
281
|
)
|
|
282
|
+
if model not in provider.models:
|
|
283
|
+
# A model this Tau does not list, of a provider it knows, runs on the provider's own
|
|
284
|
+
# transport from the provider control (ADR 0029): Tau has no metadata to bound the
|
|
285
|
+
# projection, so the projection is the authority, as for a provider Tau lacks.
|
|
286
|
+
return self._validate_projected_execution(
|
|
287
|
+
provider_control,
|
|
288
|
+
provider_name=provider_name,
|
|
289
|
+
model=model,
|
|
290
|
+
thinking_level=thinking_level,
|
|
291
|
+
normalized_thinking=normalized_thinking,
|
|
292
|
+
media_types=media_types,
|
|
293
|
+
scope="a model not in this runtime's Tau catalog",
|
|
294
|
+
)
|
|
253
295
|
tau_inputs = set(metadata.input if metadata is not None else ()) or {"text"}
|
|
254
296
|
projected_inputs = set(provider_control.model.input)
|
|
255
297
|
if not projected_inputs or not projected_inputs.issubset(tau_inputs):
|
|
@@ -299,9 +341,10 @@ class ProviderFactory:
|
|
|
299
341
|
f"Model {provider_name}:{model} is not enabled for image input"
|
|
300
342
|
)
|
|
301
343
|
provider = CATALOG_BY_NAME.get(provider_name)
|
|
302
|
-
if provider is None:
|
|
344
|
+
if provider is None or model not in provider.models:
|
|
345
|
+
# Tau has no metadata for the model; the projection, checked above, is the authority.
|
|
303
346
|
return
|
|
304
|
-
metadata = provider.model_metadata.get(model)
|
|
347
|
+
metadata = provider.model_metadata.get(model)
|
|
305
348
|
if metadata is None or "image" not in metadata.input:
|
|
306
349
|
raise ConfigurationError(f"Model {provider_name}:{model} does not support image input")
|
|
307
350
|
|
|
@@ -332,6 +375,14 @@ class ProviderFactory:
|
|
|
332
375
|
model=model,
|
|
333
376
|
thinking_level=session.active_thinking,
|
|
334
377
|
)
|
|
378
|
+
if self.model_outside_tau_catalog(provider_name, model):
|
|
379
|
+
# Once per load, with no credential value: the model runs from the provider control.
|
|
380
|
+
logger.info(
|
|
381
|
+
"providers.model_outside_tau_catalog",
|
|
382
|
+
provider=provider_name,
|
|
383
|
+
model=model,
|
|
384
|
+
session_uid=session.uid,
|
|
385
|
+
)
|
|
335
386
|
cached_credential = credential
|
|
336
387
|
cached_provider_control = evidence.provider_control
|
|
337
388
|
credential_refresh_lock = asyncio.Lock()
|
|
@@ -413,6 +464,11 @@ class ProviderFactory:
|
|
|
413
464
|
# A provider this Tau does not know runs only through Tau's OpenAI-compatible constructor,
|
|
414
465
|
# as an Organization custom provider or as the platform's catalog defines it.
|
|
415
466
|
outside_tau_catalog = catalog_provider is None
|
|
467
|
+
# A model this Tau does not list runs from the provider control alone, as a provider it
|
|
468
|
+
# does not know does (ADR 0029).
|
|
469
|
+
projection_is_authority = catalog_provider is None or (
|
|
470
|
+
model is not None and model not in catalog_provider.models
|
|
471
|
+
)
|
|
416
472
|
is_custom_provider = (
|
|
417
473
|
outside_tau_catalog and credential.credential_kind == "organization_custom"
|
|
418
474
|
)
|
|
@@ -430,7 +486,7 @@ class ProviderFactory:
|
|
|
430
486
|
normalize_thinking_level(thinking_level) if thinking_level is not None else None
|
|
431
487
|
)
|
|
432
488
|
if not provider_control.model.reasoning or (
|
|
433
|
-
|
|
489
|
+
projection_is_authority
|
|
434
490
|
and normalized_thinking not in provider_control.model.thinking_levels
|
|
435
491
|
):
|
|
436
492
|
normalized_thinking = None
|
|
File without changes
|
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/__init__.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/app.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/cli.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/config.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/env_file.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/logs.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/proxy.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/packages/tau-board/src/ms_tau_board/state.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/hydrate_endpoint.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/release_access.py
RENAMED
|
File without changes
|
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/backend/team_memberships.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/assistant_ui.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/caller_context.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/protocols/chat_history.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/resources/context_compat.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/runtime/deployment_health.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/tools/mainsequence_mcp.py
RENAMED
|
File without changes
|
{ms_tau_sdk-2.0.31.dev94 → ms_tau_sdk-2.0.32.dev95}/src/ms_tau_sdk/tools/mcp_applications.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|