UNPKG

@arizeai/phoenix-client

Version:

A client for the Phoenix API

20 lines 687 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.vercelAIToolChoiceSchema = void 0; const zod_1 = __importDefault(require("zod")); /** * Vercel AI SDK Tool Choice Schema */ exports.vercelAIToolChoiceSchema = zod_1.default.union([ zod_1.default.literal("auto"), zod_1.default.literal("none"), zod_1.default.literal("required"), zod_1.default.object({ type: zod_1.default.literal("tool"), toolName: zod_1.default.string(), }), ]); //# sourceMappingURL=toolChoiceSchemas.js.map