Conversation
…udio) - New OpenAIProposer with tool loop via OpenAI-compatible API - Config: added base_url and api_key fields to ProposerConfig - CLI: added 'openai' to --agent and --backend choices - Dependency: added openai>=1.0.0 - Docs: updated README.md and README_CN.md with openai backend row
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Add OpenAI-compatible backend for local model support
Summary / 概述
Add a new
openaiproposer backend that enables PolyHarness to work with any OpenAI-compatible API endpoint — including locally deployed models via Ollama, vLLM, LM Studio, and similar tools.新增
openai后端,支持通过 OpenAI 兼容接口连接本地部署模型(Ollama、vLLM、LM Studio 等),让用户无需云端 API 即可使用 PolyHarness 进行 harness 优化。Changes / 变更内容
base_urlandapi_keyfields toProposerConfigfor custom endpoint configurationopenaito--agentand--backendchoices inph init/ph runopenai>=1.0.0to pyproject.toml0.1.2Usage / 使用方式
Testing / 测试