Skip to content

Latest commit

 

History

History

TelegramSearchBot.CodingAgentSidecar

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

TelegramSearchBot coding-agent sidecar

中文:这个 sidecar 从 TelegramSearchBot 的 Garnet/Redis 队列接收 run_coding_agent 任务,在后台调用 pi --mode rpc,并通过 pi 的 RPC stdin/stdout 协议收集结果。任务结束后,sidecar 把报告推回 Redis,主进程会发送 Telegram 报告并自动续跑 LLM。

English: this sidecar consumes run_coding_agent jobs from TelegramSearchBot's Garnet/Redis queue, runs pi --mode rpc in the background, and collects results through pi's RPC stdin/stdout protocol. When a job finishes, it pushes a report back to Redis so the main process can post the Telegram report and resume the LLM loop.

Build:

cargo build --manifest-path TelegramSearchBot.CodingAgentSidecar/Cargo.toml --release

Config:

  • EnableCodingAgentTool: must be true.
  • CodingAgentAllowedGroupIds: explicit Telegram group whitelist.
  • CodingAgentSidecarCommand: path/name of this binary. Defaults to telegramsearchbot-coding-agent-sidecar.
  • CodingAgentPiCommand: path/name of pi. Defaults to pi.