-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Description
Describe the issue
Configuration and compatibility errors occur when setting up the strix-agent CLI tool locally. The errors happen when connecting to various LLM providers (OpenRouter, ZhipuAI, and Google Gemini).
The setup instructions were followed to use a dedicated virtual environment. Different connection/authentication errors are encountered depending on the configuration used.
Environment
- OS: macOS [Your OS Version]
- Python Version: 3.12.3 (via Homebrew/venv, but system default was 3.14)
- Strix Version: (Most recent version installed via
pip install strix-agent) - Installation Method:
pipxinitially, then isolatedvenv - Docker: Docker Desktop running
Steps to Reproduce
- Installed
strix-agentin a Python 3.12 virtual environment. - Ensured Docker Desktop is running.
- Attempted configuration for different providers, setting
STRIX_LLM,LLM_API_KEY, andLLM_API_BASEaccordingly.
Observed Behavior and Error Messages
Errors encountered:
-
When using OpenRouter/Zhipu AI (
glm-4.6orx-ai/grok-4.1-fast:free): The tool returns an authentication error or provider not found error:# [Paste the exact litellm.BadRequestError or AuthenticationError output here] -
When using Google Gemini (
gemini/gemini-2.5-flash): The tool returns a 404 error:# [Paste the exact litellm.NotFoundError output here] -
General Warning (Less critical): A Python 3.14 warning is consistently seen, although it does not seem to stop execution when variables are set:
/Users/mirza/.local/pipx/venvs/strix-agent/lib/python3.14/site-packages/openai/_compat.py:48: UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater. from pydantic.v1.typing import (
Expected Behavior
Strix should connect to the configured provider using the provided API keys and begin the security assessment.
Configuration Commands Used (Example for AgentRouter):
export STRIX_LLM="x-ai/grok-4.1-fast:free"
export LLM_API_KEY="[My openRouter Key]"
export LLM_API_BASE="https://openrouter.ai/api/v1"