Add responses api_mode support for OpenAI relay#1
Merged
Conversation
ZZFFLL
pushed a commit
to ZZFFLL/zfengl-ga
that referenced
this pull request
Apr 30, 2026
…-mode Add responses api_mode support for OpenAI relay
bendusy
pushed a commit
to bendusy/GenericAgent
that referenced
this pull request
May 14, 2026
…pe, anchor lsdefine#1 comment
bendusy
added a commit
to bendusy/GenericAgent
that referenced
this pull request
May 14, 2026
…l calls (lsdefine#1) Ports NousResearch/hermes-agent agent/tool_guardrails.py (MIT) to detect: - repeated identical-args tool failures (exact_failure) - same-tool failures across different args (same_tool_failure) - idempotent reads returning the same result (no_progress) Integration is opt-in via env: - GA_TOOLGUARD=off disables warnings (default: on) - GA_TOOLGUARD_HARDSTOP=1 enables block/halt (default: off, warn-only) Defaults preserve existing behavior: warnings only, no execution interception. When hard stop is enabled, block/halt synthesizes a tool result and exits the current task with the guardrail message. GA-specific tool catalogue: - idempotent: file_read, web_scan - mutating : code_run, file_patch, file_write, web_execute_js, update_working_checkpoint, start_long_term_update Failure classifier handles code_run exit_code semantics; falls back to "error"/"failed" substring detection in result preview. 18 new unit tests cover signatures, classifier, warn-only flow, hard-stop thresholds, success-resets-counter, and env config parsing. Co-authored-by: Ben <ben@M4.local>
bendusy
pushed a commit
to bendusy/GenericAgent
that referenced
this pull request
May 14, 2026
…iled tool calls (lsdefine#1)" This reverts commit f47ef08.
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
esponses
Why
Some OpenAI-compatible relays only support
esponses (not chat/completions).
Second-turn requests failed with HTTP 400 due to wrong content type mapping in history.
Validation