Skip to content

Commit

Permalink
docs: Update README: Add AIOS Refresh Command (#413)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
XiangZhang-zx authored Jan 10, 2025
1 parent 116cd0a commit d1b538a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ Alternatively, you can set them as environment variables directly:

- `aios env list`: Show current environment variables, or show available API keys if no variables are set
- `aios env set`: Show current environment variables, or show available API keys if no variables are set
- `aios refresh`: Refresh AIOS configuration.
Reloads the configuration from aios/config/config.yaml.
Reinitializes all components without restarting the server.
The server must be running.

When no environment variables are set, the following API keys will be shown:
- `OPENAI_API_KEY`: OpenAI API key for accessing OpenAI services
Expand Down

0 comments on commit d1b538a

Please sign in to comment.