Skip to content

GraphBuilder ignores AdaptiveBundler output, causing context limit issues #35

@mzfr

Description

@mzfr

Hi, I'm sorry If I misunderstood something but right now everything is being crammed into the model context.

I understand that AdaptiveBundler creates X chunks(where X comes from the context set in config). But the GraphBuilder ignores the bundles and tries to use ALL the cards, which might fail(unless you are using openai's 1M context window model).

By fail I mean, when I tried with 15 files and 25K context window, it sampled 1/54 cards

│ 13:15:10 Added: 1 nodes, 2 edges (orphans 0->0)                                                                                                         │
│ 13:15:10 AuthorizationMap: 4N/3E, 0 orphans                                                                                                             │
│ 13:15:10 Context limit reached — sampling active: using 1/54 cards. Consider restricting input files with --files (whitelist), and/or using a model     │
╭────────────────────────────╮
│ ✓ Graph building complete! │

I believe this(d0e4e7e) commit tried fixing that but this(2a8a667) commit brought back the same behaviour.

Was graph-building accuracy taking a significant hit when everything wasn’t kept in a single context, and is that why the change was overridden?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions