File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ pip install -e .
3939- Optional tuning: ` TEMPERATURE ` (default ` 0.2 ` ), ` MAX_TOKENS ` (default ` 1024 ` )
4040- Tool plugins: ` TOOLS_MODULES="your_pkg.tools,other_pkg.tools" ` to load extra tools (see Tools below)
4141- Traces location: ` TRACES_DIR ` (default ` traces/ ` )
42+ - CORS (API): ` MICRO_AGENT_CORS_ORIGINS ` (default ` * ` ), ` MICRO_AGENT_CORS_CREDENTIALS ` (default ` 0 ` )
4243- Compiled demos (OpenAI planner): ` COMPILED_DEMOS_PATH ` (default ` opt/plan_demos.json ` )
44+ - Concurrency/usage isolation: ` MICRO_AGENT_SERIALIZE ` (default ` 1 ` ), ` MICRO_AGENT_USE_GLOBAL_TRACE ` (default ` 1 ` )
4345
4446Examples:
4547``` bash
@@ -51,6 +53,14 @@ export OPENAI_MODEL=gpt-4o-mini
5153export LLM_PROVIDER=ollama
5254export OLLAMA_MODEL=llama3.2:1b
5355export OLLAMA_HOST=http://localhost:11434
56+
57+ # CORS (allow a specific origin and enable credentials)
58+ export MICRO_AGENT_CORS_ORIGINS=" https://example.com"
59+ export MICRO_AGENT_CORS_CREDENTIALS=1
60+
61+ # Concurrency/usage isolation
62+ export MICRO_AGENT_SERIALIZE=0 # allow concurrent requests
63+ export MICRO_AGENT_USE_GLOBAL_TRACE=0 # disable shared trace usage
5464```
5565
5666## CLI
You can’t perform that action at this time.
0 commit comments