Repository navigation
Conversation
Contributor
Author
|
@Wei-Shaw 您好,已将此 PR 更新到最新 main(当前 head:f6473765f1),GitHub 显示可合并,当前测试、前端、lint、安全及 CLA 检查均已通过。方便时烦请 review 并合并,谢谢。 |
xuhaihan
force-pushed
the
fix/openai-repeated-tool-failure-loop
branch
from
October 8, 2026 07:20
f647376 to
f249e3d
Compare
Contributor
Author
|
@Wei-Shaw 您好,再次提醒您检查这个 PR。当前 head 为 |
This was referenced Oct 21, 2026
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.
Summary
This is intentionally separate from the declaration/translation fixes in #6062: it protects the runtime when a compatible provider still keeps selecting a tool with an invalid handle or another deterministic failure.
Validation
go test ./internal/service -run TestOpenAIResponsesToolLoopGuard -count=1go test ./internal/service -count=1go test ./...git diff --check