Skip to content

Responses API mode (opt-in) #66

@anvztor

Description

@anvztor

Summary

Expose a BUB_USE_RESPONSES flag to route Bub/Republic through the OpenAI Responses API when required by upstream gateways.

Motivation

Bub currently uses Republic -> any-llm chat completions. Some OpenAI-compatible gateways only support /v1/responses, causing 404s. An opt-in flag keeps default behavior while enabling compatibility.

Proposed change

  • Add BUB_USE_RESPONSES to settings and pass it into Republic's LLM.
  • Document the new flag in README/env.example.

Backward compatibility

Default behavior remains chat completions unless BUB_USE_RESPONSES=true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions