MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / is_openhands_model

Function is_openhands_model

openhands/app_server/utils/llm.py:104–106  ·  view source on GitHub ↗

Return True when the model uses the public OpenHands provider prefix.

(model: str | None)

Source from the content-addressed store, hash-verified

102
103
104def is_openhands_model(model: str | None) -> bool:
105 """Return True when the model uses the public OpenHands provider prefix."""
106 return bool(model and model.startswith('openhands/'))
107
108
109# Canonical masked placeholder for LLM API keys. Matches pydantic's

Calls

no outgoing calls