summaryrefslogtreecommitdiff
path: root/libawl/src/agent.zig
diff options
context:
space:
mode:
authorT <t@tjp.lol>2026-05-25 12:19:50 -0700
committerT <t@tjp.lol>2026-05-25 12:39:24 -0700
commite8272efd9f71ad27a0e62b6b3fa3d13e99a6736f (patch)
tree16932c3f947aac908e15b77a71f9db3184e18a5c /libawl/src/agent.zig
parent52b2ca78aed7950af27d4865aee65da781514a99 (diff)
work
Diffstat (limited to 'libawl/src/agent.zig')
-rw-r--r--libawl/src/agent.zig23
1 files changed, 0 insertions, 23 deletions
diff --git a/libawl/src/agent.zig b/libawl/src/agent.zig
deleted file mode 100644
index 7ebc058..0000000
--- a/libawl/src/agent.zig
+++ /dev/null
@@ -1,23 +0,0 @@
-const std = @import("std");
-const provider = @import("provider.zig");
-const conversation = @import("conversation.zig");
-
-pub const Agent = struct {
- provider: provider.Provider,
- allocator: std.mem.Allocator,
-
- pub fn init(allocator: std.mem.Allocator, prov: provider.Provider) Agent {
- return .{
- .provider = prov,
- .allocator = allocator,
- };
- }
-
- pub fn runStep(self: Agent, conv: *conversation.Conversation, receiver: *provider.Receiver) !void {
- try self.provider.streamStep(conv, receiver);
- }
-
- pub fn deinit(self: Agent) void {
- self.provider.deinit();
- }
-};