Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.04 KB

File metadata and controls

20 lines (16 loc) · 1.04 KB

CLAUDE

Project notes

  • The CLI supports two providers: OpenRouter and HybridAI.
  • Provider selection precedence: HybridAI if HYBRIDAI_API_KEY is set; otherwise OpenRouter.
  • /model shows a selectable list of providers when both API keys are present.
  • Always run cargo test after making code changes.
  • /chatbot shows a selectable list of HybridAI chatbots when HybridAI is active and persists the selection to ~/.config/hybridai/nano_config.json.
  • Input history is navigable with up/down arrows and stored in ~/.hybridai/history.jsonl.

API usage

  • OpenRouter: https://openrouter.ai/api/v1/chat/completions with messages, tools, tool_choice.
  • HybridAI: {HYBRIDAI_BASE_URL}/v1/chat/completions with messages, tools, tool_choice, enable_rag, and chatbot_id.
    • Chatbot list: GET {HYBRIDAI_BASE_URL}/api/v1/bot-management/bots.

Known limitations

  • HybridAI tool calling depends on the local endpoint honoring the OpenAI-style tools schema.

Debug

  • debug.log captures request/response payloads for troubleshooting.