@devries-cameron20 / composio Mirror · read-only / commits / 1501ae6fd
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 12:15 UTC

test: classify the TypeSafe provider in the $ref handling contract

jkomyno committed Sep 17, 2026 at 17:53 UTC 1501ae6fdbfeaed51ef34caadd28437f26314863
2 files changed +11
python/tests/test_provider_ref_contract.py
+6
@@ -106,6 +106,12 @@ PROVIDER_PACKAGES: t.Final[dict[str, Classification]] = {
106 "passthrough",
107 "forwards the whole schema; OpenAI resolves $defs/$ref natively",
108 ),
109 + "typesafe": Classification(
110 + "resolves-refs",
111 + "compiles each property into questions, so an enum behind a ref must be "
112 + "materialized to be asked",
113 + via="dereference_json_schema",
114 + ),
115 }
116
117 # Sources outside ``python/providers`` that hand schemas to a vendor.
ts/packages/core/test/providers/refContract.test.ts
+5
@@ -105,6 +105,11 @@ const PROVIDER_PACKAGES: Record<string, Classification> = {
105 treatment: 'passthrough',
106 reason: 'forwards the whole schema',
107 },
108 + typesafe: {
109 + treatment: 'needs-deref',
110 + reason:
111 + 'compiles each property into questions, so an enum behind a ref must be materialized to be asked',
112 + },
113 };
114
115 /** Non-`providers/` sources that also hand schemas to vendors. */