fix: address PR review — await store.cas.put + bun shebang → node
CI / check (pull_request) Failing after 3m59s
CI / check (pull_request) Failing after 3m59s
- Add missing await on store.cas.put() in run.ts:192 - Replace #!/usr/bin/env bun → #!/usr/bin/env node in all CLI bins - Update issue-551 test to assert node shebang
This commit is contained in:
@@ -192,7 +192,7 @@ export function createAgent(options: AgentOptions): () => Promise<void> {
|
||||
let assembledPromptHash: CasRef | null = null;
|
||||
if (promptText !== "") {
|
||||
try {
|
||||
assembledPromptHash = ctx.meta.store.cas.put(ctx.meta.schemas.text, promptText);
|
||||
assembledPromptHash = await ctx.meta.store.cas.put(ctx.meta.schemas.text, promptText);
|
||||
} catch {
|
||||
assembledPromptHash = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user