Skip to content

feat(openai-go): add EINO model component using official OpenAI Go SDK#800

Open
mikeb26 wants to merge 3 commits intocloudwego:mainfrom
mikeb26:openaiSDK
Open

feat(openai-go): add EINO model component using official OpenAI Go SDK#800
mikeb26 wants to merge 3 commits intocloudwego:mainfrom
mikeb26:openaiSDK

Conversation

@mikeb26
Copy link
Copy Markdown
Contributor

@mikeb26 mikeb26 commented Apr 24, 2026

Create a new components/model/openai-go module implementing EINO model support backed by github.com/openai/openai-go/v3 and the Responses API. The existing components/model/openai implementation relies on github.com/sashabaranov/go-openai which is no longer active. Newer OpenAI models such as GPT 5.4 no longer fully support the Chat Completions API and require the Responses API. However, github.com/sashabaranov/go-openai does not support the Responses API.

Longer term we should avoid having 2 model implementations for OpenAI. In the short term however, to allow users to test this new implementation without risking regressions in the long stable components/model/openai we maintain both temporarily.

Please sees https://developers.openai.com/api/docs/guides/migrate-to-responses for further detail.

What type of PR is this?

feat: A new feature

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

Fixes #782

mikeb26 and others added 2 commits May 1, 2026 12:15
Create a new `components/model/openai-go` module implementing EINO model
support backed by `github.com/openai/openai-go/v3` and the Responses
API. The component supports tool calling (including required/choices),
multimodal inputs, and streaming.

Co-authored-by: Octium Agent <agent@octium.dev>
there's a CI test that appears to look for spelling errors. it is
incorrectly flagging a unit test with a spelling error. even though
"hel" is a perfectly valid substring to search for in a unit test,
this commit works around the false positive reported by the test.
@mikeb26
Copy link
Copy Markdown
Contributor Author

mikeb26 commented May 4, 2026

ping?

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

bug(openai): gpt-5.3+ with reasoning_effort + tools fails on /v1/chat/completions — Responses API not supported

1 participant