refactor: move mcp schema model helpers

This commit is contained in:
lda
2026-06-08 08:32:25 +07:00 Verified
parent 93a8d54056
commit 0f465942df
9 changed files with 919 additions and 108 deletions
+5
View File
@@ -62,6 +62,7 @@ __all__ = [
"mcp_auth_headers",
"mcp_source_connection_from_connection_config",
"mcp_source_connection_from_registry_entry",
"model_from_schema",
"neutral_auth_from_mcp",
"registry_entry_to_connection_config",
"workflow_mcp_source_to_connection_config",
@@ -104,4 +105,8 @@ def __getattr__(name: str) -> object:
from . import discovery
return getattr(discovery, name)
if name == "model_from_schema":
from . import schema_models
return schema_models.model_from_schema
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")