llm/__init__.py

software-agent-sdk · openhands-sdk/openhands/sdk/llm/__init__.py · python · MIT
ai, AI / Agents

Convenience imports for OpenHands LLM SDK components.

# Source: https://github.com/OpenHands/software-agent-sdk | License: MIT | Copyright 2026 OpenHands contributors
# Provided via justclaw.it.com; keep this notice with the code.
from openhands.sdk.llm.auth import (
    OPENAI_CODEX_MODELS,
    CredentialStore,
    OAuthCredentials,
    OpenAISubscriptionAuth,
)
from openhands.sdk.llm.call_context import LLMCallContext
from openhands.sdk.llm.cleanup_profile import (
    CLEANUP_PROFILE_NAME,
    aclean_outward_text,
    clean_outward_text,
)
from openhands.sdk.llm.fallback_strategy import FallbackStrategy
from openhands.sdk.llm.llm import LLM, LLM_PROFILE_SCHEMA_VERSION
from openhands.sdk.llm.llm_profile_store import (
    LLMProfileLoader,
    LLMProfileMutator,
    LLMProfileStore,
)
from openhands.sdk.llm.llm_registry import LLMRegistry, 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key