Skip to content

Fix: Add context normalization for dict and string formats#1668

Open
GeorgelPreput wants to merge 2 commits intoassafelovic:mainfrom
GeorgelPreput:fix/hash-mcp-context
Open

Fix: Add context normalization for dict and string formats#1668
GeorgelPreput wants to merge 2 commits intoassafelovic:mainfrom
GeorgelPreput:fix/hash-mcp-context

Conversation

@GeorgelPreput
Copy link
Contributor

Due to the issue in #1667 I propose that in the Detailed Report generation, both dict context items from MCP, and strings from everywhere else are normalized by converting them to a consistent hashable string format before deduplication.

Handle both string and dict context items from MCP by converting
them to a consistent hashable string format before deduplication.
@assafelovic
Copy link
Owner

@GeorgelPreput thanks for this, due to some early merges of updated code, can you take a look at the conflict and fix? Thanks! Love this

@GeorgelPreput
Copy link
Contributor Author

Fixed the conflicts, could you have another look?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants