Home

giogio / openez-graph

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(mcp): restore code_context and keep sources paired under truncation

3 months ago

9b612e6
Authored
asta-nguyen8/11/2026, 4:02:01 PM
Remove the misplaced nodeId/label validation from the code_context case
(it belongs only in graph_neighbors). Allow fitToTokenBudget to drop
entire result entries (minimum 1) so context and structured sources stay
paired instead of truncating inner arrays independently.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

Parentb4f93d5

1 file changed
  • apps/mcp/src/mcp-core.ts+2−6