Add callModel API with multiple consumption patterns #86
pr-validation.yaml
on: pull_request
validate
/
validate
1m 5s
Annotations
4 errors
|
validate / validate
Process completed with exit code 1.
|
|
tests/e2e/callModel-tools.test.ts > Enhanced Tool Support for callModel > Zod Schema Conversion > should preserve descriptions and metadata:
tests/e2e/callModel-tools.test.ts#L58
TypeError: Cannot read properties of undefined (reading 'def')
❯ JSONSchemaGenerator.process node_modules/zod/v4/core/to-json-schema.js:15:33
❯ toJSONSchema node_modules/zod/v4/core/to-json-schema.js:748:9
❯ tests/e2e/callModel-tools.test.ts:58:26
|
|
tests/e2e/callModel-tools.test.ts > Enhanced Tool Support for callModel > Zod Schema Conversion > should handle complex nested schemas:
tests/e2e/callModel-tools.test.ts#L47
TypeError: Cannot read properties of undefined (reading 'def')
❯ JSONSchemaGenerator.process node_modules/zod/v4/core/to-json-schema.js:15:33
❯ toJSONSchema node_modules/zod/v4/core/to-json-schema.js:748:9
❯ tests/e2e/callModel-tools.test.ts:47:26
|
|
tests/e2e/callModel-tools.test.ts > Enhanced Tool Support for callModel > Zod Schema Conversion > should convert Zod schema to JSON Schema using v4 toJSONSchema():
tests/e2e/callModel-tools.test.ts#L27
TypeError: Cannot read properties of undefined (reading 'def')
❯ JSONSchemaGenerator.process node_modules/zod/v4/core/to-json-schema.js:15:33
❯ toJSONSchema node_modules/zod/v4/core/to-json-schema.js:748:9
❯ tests/e2e/callModel-tools.test.ts:27:26
|