ductor icon indicating copy to clipboard operation
ductor copied to clipboard

[Bug]: Session error - Failed to start Gemini Cli due to "@BotFather" in agent_tools

Open liuh886 opened this issue 8 months ago • 1 comments

What happened?

Error msg:

Detail: [ERROR] [ImportProcessor] Failed to import BotFather): ENOENT: no such file or directory, access '/ductor/agents/bot7-agency/workspace/tools/agent_tools/BotFather)'

ductor_bot/_home_defaults/workspace/tools/agent_tools/RULES.md contains @BotFather, which gets synced into agent-facing AGENTS.md / GEMINI.md. Gemini CLI’s memory import parser treats bare @... tokens as imports, so it tries to load BotFather) as a file and logs ENOENT.

Steps to Reproduce

  1. After the system is initialised
  2. Choose Gemini as the provider
  3. Send msg to any agent

Expected Behavior

plain Telegram handles in docs should not be parsed as imports.

Current workaround:

D:\Documents\GitHub\ductor\ductor_bot_home_defaults\workspace\tools\agent_tools\RULES.md

replace "@BotFather" with "Telegram BotFather" in the template.

Operating System

Windows

Environment

Docker

Which LLM provider?

Gemini

ductor version

0.12.0

/diagnose output


Relevant log output


LLM self-diagnosis (optional)

No response

Additional context

No response

Before submitting

  • [x] I have searched existing issues for duplicates.
  • [x] I am running the latest version.

liuh886 avatar Mar 07 '26 17:03 liuh886

Fixed — @BotFather replaced with Telegram BotFather in RULES.md. Your PR #35 had the same fix, merged cleanly.

PleasePrompto avatar Mar 08 '26 03:03 PleasePrompto