diff options
| author | t <t@tjp.lol> | 2026-06-11 09:08:42 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-06-11 09:23:28 -0600 |
| commit | e2477f7d2d2a4eab870a2bd61534cfd146907915 (patch) | |
| tree | 197dae8b7476558d7f105d3129778f30b91503e1 /src/system_prompt.zig | |
| parent | 813ebd014a7614fdcdf4df5570b50944f2626076 (diff) | |
libpanto API fixes
- FSJSONLStore: don't require `cwd`, instead panto CLI provides it in
the session metadata
- Lua: expose the `SessionStore` interface and the `FSJSONLStore` and
`NullStore` implementations
- C: use idiomatic `const char *` for incoming strings
- C: expose the `FSJSONLStore` and `NullStore` implementations
Diffstat (limited to 'src/system_prompt.zig')
| -rw-r--r-- | src/system_prompt.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system_prompt.zig b/src/system_prompt.zig index 9dce3e5..e2b2907 100644 --- a/src/system_prompt.zig +++ b/src/system_prompt.zig @@ -473,7 +473,7 @@ const TmpLayers = struct { fn openTmpStore(arena: Allocator, root: []const u8) !panto.FileSystemJSONLStore { const sessions = try std.fs.path.join(arena, &.{ root, "sessions" }); - return panto.FileSystemJSONLStore.init(testing.allocator, testing.io, sessions, "/cwd"); + return panto.FileSystemJSONLStore.init(testing.allocator, testing.io, sessions); } /// Minimal agent harness for system-prompt tests: a throwaway provider |
