Merge pull request #59 from kiliman/kiliman/rpc-attachments

fix: pass attachments to agent prompt from RPC interface
This commit is contained in:
Mario Zechner 2025-11-26 23:58:51 +01:00 committed by GitHub
commit 053800e9f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -609,7 +609,7 @@ async function runRpcMode(agent: Agent, _sessionManager: SessionManager): Promis
// Handle different RPC commands
if (input.type === "prompt" && input.message) {
await agent.prompt(input.message);
await agent.prompt(input.message, input.attachments);
} else if (input.type === "abort") {
agent.abort();
}