mirror of
https://github.com/ggozad/oterm.git
synced 2026-10-13 18:53:21 +02:00
Promote _expand_env_vars from mcp/setup.py to oterm.utils.expand_env_vars
and call it from _resolve_api_key. openaiCompatible api_key now accepts
${VAR} and ${VAR:-default} (matching pydantic-ai's MCP convention) and
logs a warning when an env var is missing. Bare $VAR no longer
recognised.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| mcp_servers.py | ||
| test_builtin_tools.py | ||
| test_discovery.py | ||
| test_mcp_logging.py | ||
| test_mcp_setup.py | ||