Skip to content

Claudian in Obsidian fails to respond while Claude CLI works normally in shell #398

Description

@dxmanoo

Environment

  • OS: macOS
  • Obsidian version: [1.12.4 ]
  • Claudian plugin version: [1.3.71]
  • Claude Code CLI version: [2.1.81]
  • Node.js version: [23.11.0]
  • API provider: Volcano Engine CodePlan (Anthropic API-compatible)

Problem Description

Claude Code CLI works perfectly in the shell with my Volcano Engine CodePlan API configuration, returning normal model responses. Node.js and Claude are installed in the same directory, and all required environment variables (ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN, ANTHROPIC_MODEL) are correctly set.

However, when using the Claudian plugin in Obsidian:

  • The plugin initializes (shows "Grabbing a snack..." status)
  • The request is immediately interrupted, displaying Interrupted · What should Claudian do instead?
  • No model response is returned, and the conversation cannot proceed
  • The correct Claude CLI path is configured in Claudian settings, and environment variables match the shell configuration

Expected Behavior

Claudian in Obsidian should call Claude CLI normally, use the configured Volcano Engine CodePlan API, and return model responses consistently with the shell environment.

Actual Behavior

  • The plugin process is interrupted immediately after starting, with no response generated
  • The issue is isolated to Claudian in Obsidian, as Claude CLI works flawlessly in the shell
  • Multiple restarts of Obsidian, reinstallation of Claudian, and reconfiguration of path/environment variables do not resolve the problem

Steps to Reproduce

  1. Install Claude Code CLI, confirm Node.js and Claude are in the same directory
  2. Configure Volcano Engine CodePlan API in the shell, verify claude command works normally
  3. Install Claudian in Obsidian, set the correct Claude CLI path and environment variables
  4. Restart Obsidian, send a test message in Claudian, and observe the immediate interruption

Additional Information

  • Shell environment and Claudian environment variables are identical

  • API, network, and Claude installation are fully functional (verified via shell)

  • Screenshots of the error interface and plugin settings are attached for reference

Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions