-
Notifications
You must be signed in to change notification settings - Fork 150
v1.4.0 #1153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
akshaydeo
wants to merge
18
commits into
main
Choose a base branch
from
v1.4.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+24,884
−1,130
Open
v1.4.0 #1153
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
9853088
feat: added agents and codemode to mcp (#941)
Pratham-Mishra04 0f0be03
feat: add MCP server implementation (#936)
Pratham-Mishra04 22cca4b
Merge branch 'main' into v1.4.0
Pratham-Mishra04 cd4cfac
Merge branch 'main' into v1.4.0
Pratham-Mishra04 bd2355b
Merge branch 'main' into v1.4.0
akshaydeo 270cc82
feat: governance plugin refactor
Pratham-Mishra04 d877912
deadlock fix
akshaydeo 0753937
chore: governance tests added
Pratham-Mishra04 580f591
feat: governance plugin refactor (#1154)
akshaydeo e42e8da
chore: governance tests added (#1041)
akshaydeo f26d081
feat: added binding level toggle in mcp codemode
Pratham-Mishra04 fab6ecc
feat: added responses mcp tool execute endpoint
Pratham-Mishra04 d7414a6
feat: added pings for mcp connections
Pratham-Mishra04 4f82c3b
feat: add tool-level binding option for MCP code mode (#1160)
akshaydeo 187061c
feat: added Response API execution enpoint for MCP tools (#1161)
akshaydeo 86283ac
feat: add health monitoring for MCP clients (#1168)
akshaydeo e65a335
Merge branch 'main' into v1.4.0
akshaydeo bca600b
mod update
akshaydeo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: maximhq/bifrost
Length of output: 655
🏁 Script executed:
Repository: maximhq/bifrost
Length of output: 925
🏁 Script executed:
Repository: maximhq/bifrost
Length of output: 1252
🏁 Script executed:
Repository: maximhq/bifrost
Length of output: 2423
🏁 Script executed:
Repository: maximhq/bifrost
Length of output: 41
🏁 Script executed:
Repository: maximhq/bifrost
Length of output: 41
🏁 Script executed:
Repository: maximhq/bifrost
Length of output: 5543
🏁 Script executed:
Repository: maximhq/bifrost
Length of output: 1497
Remove pointer-to-context pattern; it is an anti-pattern that does not actually propagate updates back to the caller.
The code passes
&ctxtoCheckAndExecuteAgentForChatRequest, which dereferences it as*ctx = context.WithValue(...)incore/mcp/agent.go. However,context.WithValue()returns a new context instance, not a modification of the existing one. Reassigning via the pointer only affects the dereferenced value within the function's call chain—it does not propagate changes back to the original caller's context variable. This pattern creates a false impression of context sharing and violates Go's immutable context semantics.Refactor to use standard context patterns: pass
ctxby value and return the modified context, or use a context that is already initialized with the necessary values before being passed.🤖 Prompt for AI Agents