Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update installation steps for AIOS Kernel and SDK (#429)
* Fix * Feat: Prioritize API Key from Config File Problem: The system was using environment variables for API keys. Solution: Changed the code to first check the config file for API keys. If not found, it falls back to environment variables. Impact: Ensures API keys are managed centrally in the config file, improving flexibility and control. * Update adapter.py * fix: use PR code instead of main branch in workflow Before: Workflow always used main branch code After: Workflow uses PR code when testing PR * Update test_ollama.yml * Update test_ollama.yml * Update test_ollama.yml * Update README: Add AIOS Refresh Command * feat: Add dynamic LLM configuration support in AIOS kernel # Description This PR enables AIOS kernel to dynamically handle LLM configurations from users, allowing: 1. Dynamic API key updates for different LLM providers 2. Runtime configuration refresh without restart 3. Secure API key management ## Changes - Added config update endpoint in kernel - Added configuration refresh mechanism - Updated environment variable handling * Update kernel.py * Fix:LLM API Key Error Handling ## What's Changed - Added proper error handling for invalid API keys - Fixed response parsing for LiteLLM completion calls - Added HTTP status codes for different error types: - 402 for API key issues - 500 for other errors * feat:Improve API Key Error Handling - Added API key masking in error messages (e.g., "ab****12") * docs: Update installation steps for AIOS Kernel and SDK
- Loading branch information