INNER CODE UNIT · Python
_oauth_port_conflict_message
TianGzlab/OmicsClaw · omicsclaw/surfaces/desktop/server.py:505
def _oauth_port_conflict_message(ccproxy_port: int, app_port: int) -> str:
return (
f"ccproxy_port ({ccproxy_port}) conflicts with the OmicsClaw "
f"desktop-server port ({app_port}). Pick a different port "
f"(default: 11435) via the CCPROXY_PORT env var or the "
f"ccproxy_port field in the request body."
)
# ---------------------------------------------------------------------------
# Provider-aware thinking support
# ---------------------------------------------------------------------------
# Providers whose APIs natively accept the ``thinking`` extra-body parameter.
# For these, ``adaptive`` maps to ``enabled`` with a sensible default budget.
_THINKING_NATIVE_PROVIDERS: frozenset[str] = frozenset(
{
"deepseek",