From 7847db3b13bc8639b5173ce3c56ae4068617ce12 Mon Sep 17 00:00:00 2001 From: t Date: Tue, 16 Jun 2026 12:28:55 -0600 Subject: support static linking, and openai_codex_responses in libpanto-c --- libpanto-c/src/lib.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpanto-c/src') diff --git a/libpanto-c/src/lib.zig b/libpanto-c/src/lib.zig index d877abe..716e16b 100644 --- a/libpanto-c/src/lib.zig +++ b/libpanto-c/src/lib.zig @@ -368,10 +368,10 @@ fn freeProvider(pv: *panto.ProviderConfig) void { allocator.free(c.model); if (c.api_version.ptr != "2023-06-01".ptr) allocator.free(c.api_version); }, - // The Responses style is not constructible across the C ABI (no - // PantoAPIStyle variant), so `convertProvider` never builds it; this - // case exists only to keep the union switch exhaustive. - .openai_responses => |c| { + // The Responses styles are not constructible across the C ABI (no + // PantoAPIStyle variant), so `convertProvider` never builds them; these + // cases exist only to keep the union switch exhaustive. + .openai_responses, .openai_codex_responses => |c| { allocator.free(c.api_key); allocator.free(c.base_url); allocator.free(c.model); -- cgit v1.3