Skip to content

Enhancement: Support authentication for custom OpenAI-compatible endpoints (openai: + base_url) #117

Description

@romankurnovskii

Feature Suggestion

The Problem
Currently, in condor/acp/pydantic_ai_client.py, when a custom base_url is configured alongside an openai model prefix (e.g., pointing to vLLM, a secure corporate proxy, or third-party providers like DeepInfra / Together AI using custom URLs), the API key is hardcoded to "not-needed":
pydantic_ai_client

The Proposed Solution https://github.com/hummingbot/condor/pull/104/changes

Impact

Without this behavior, developers cannot deploy Hummingbot Condor in production-grade cloud environments where inference endpoints must be secured.

Production Security Blocked: Secure gateways (like vLLM running with token authentication or enterprise LiteLLM proxies) are currently completely unusable because the client always injects a dummy "not-needed" key.

@rapcmia @david-hummingbot

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions