Skip to content

feat: honor OpenAI-compatible base URLs#184

Open
debgotwired wants to merge 1 commit intoeli64s:mainfrom
debgotwired:feat/openai-compatible-base-url
Open

feat: honor OpenAI-compatible base URLs#184
debgotwired wants to merge 1 commit intoeli64s:mainfrom
debgotwired:feat/openai-compatible-base-url

Conversation

@debgotwired
Copy link
Copy Markdown

Summary

  • honor configured base_url for OpenAI-compatible endpoints
  • preserve Ollama localhost fallback when no explicit compatible host is configured
  • add deterministic OpenAI handler tests for OpenAI, Ollama, OpenRouter-style, LM Studio-style, and custom Ollama hosts

Testing

  • python3 -m py_compile readmeai/models/openai.py tests/models/test_openai.py
  • git diff --check
  • poetry run pytest -o addopts='' tests/models/test_openai.py -n 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant