#!/usr/bin/env python3 import sys sys.path.insert(0, "/app/agents") from shared import api_request, DASHBOARD_API from llm_client import get_llm_config, DEFAULT_MODELS # Check what config the user has config = api_request(f"{DASHBOARD_API}/api/users/2/llm", retries=1) print(f"LLM config: {config}") print(f"Default model for anthropic: {DEFAULT_MODELS.get('anthropic')}") # Try a simple completion from llm_client import complete try: result = complete(2, "Say hello in one sentence.", max_tokens=50) print(f"Success: {result}") except Exception as e: print(f"Error: {e}")