pub const APIStyle = enum { anthropic, }; pub const Config = struct { api_style: APIStyle, api_key: []const u8, base_url: []const u8, model: []const u8, }; const t = @import("std").testing; test "Config - construct with all fields" { const cfg = Config{ .api_style = .anthropic, .api_key = "sk-ant-test", .base_url = "https://api.anthropic.com", .model = "claude-sonnet-4-20250514", }; try t.expectEqual(APIStyle.anthropic, cfg.api_style); try t.expectEqualStrings("sk-ant-test", cfg.api_key); try t.expectEqualStrings("https://api.anthropic.com", cfg.base_url); try t.expectEqualStrings("claude-sonnet-4-20250514", cfg.model); }