Skip to content

Add callModel API with multiple consumption patterns #86

Add callModel API with multiple consumption patterns

Add callModel API with multiple consumption patterns #86

Triggered via pull request November 20, 2025 21:27
Status Failure
Total duration 1m 9s
Artifacts

pr-validation.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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