You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
0 commit comments