summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.zig12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.zig b/src/main.zig
index 1356bdc..4f9c490 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -1,12 +1,12 @@
const std = @import("std");
-const libpanto = @import("libpanto");
+const libpanto = @import("panto");
pub fn main() !void {
- const config = libpanto.config.Config.fromEnv() catch |err| switch (err) {
- error.MissingApiKey => {
- std.debug.print("panto: PANTO_API_KEY environment variable is required\n", .{});
- return;
- },
+ const config = libpanto.config.Config{
+ .api_style = .anthropic,
+ .api_key = "test",
+ .base_url = "https://api.anthropic.com",
+ .model = "claude-sonnet-4-20250514",
};
var debug_allocator = std.heap.DebugAllocator(.{}).init;