INNER CODE UNIT · Python
config_cmd
omnirexflora-labs/omnicoreagent · src/omnicoreagent/serve/cli.py:316
def config_cmd(show: bool, env_example: bool):
"""View or generate configuration.
Example:
omniserve config --show
eval "$(omniserve config --env-example)"
"""
from omnicoreagent.serve import OmniServeConfig
if env_example:
click.echo("""# OmniCoreAgent / OmniServe
# Most local runs need only the model key.
export LLM_API_KEY=your_api_key_here
# Optional server overrides
# export OMNICOREAGENT_SERVE_PORT=8000
# export OMNICOREAGENT_SERVE_HOST=0.0.0.0
# export OMNICOREAGENT_SERVE_AUTH_ENABLED=true