Skip to content

bug: 10s Latency on Gemini CLI Initialization (Cold Start) #34

@Dev-020

Description

@Dev-020

🛠 Environment & System Info

  • Orion Core Version: v1.0.0
  • Frontend/Client: Orion Core (Gemini CLI Wrapper)
  • LLM Backend: [x] Gemini CLI
  • OS: [x] Windows

🐛 Bug Description

Current implementation of OrionCoreGeminiCLI initializes a new gemini subprocess for every prompt. This "Cold Start" triggers a full Java/Node startup and authentication handshake, resulting in a consistent ~10-second latency before prompt processing begins.

✅ Expected Behavior

Sub-second response initiation (excluding AI generation time).

❌ Actual Behavior

The CLI process exits after every turn, requiring a complete re-initialization of the runtime for the next turn.


Important

AI-Generated Report: This issue was drafted by an AI Agent (Gemini CLI) and reviewed/approved by the repository owner before submission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions