Skip to content

More Graphcore Changes#12

Merged
jtoman merged 12 commits intomasterfrom
jtoman/graphcore-ext-2
Apr 2, 2026
Merged

More Graphcore Changes#12
jtoman merged 12 commits intomasterfrom
jtoman/graphcore-ext-2

Conversation

@jtoman
Copy link
Copy Markdown
Contributor

@jtoman jtoman commented Apr 1, 2026

  • Allow binding the checkpointer to be used by the builder (it can still be overridden by explicit arguments to compile)
  • Allows declaring tools with dependencies, constructed with Tool.with_deps(deps).as_tool("name"). Uses kinda gross contextvars, but it prevents having to close over tool dependencies, so this is the lesser of two evils
  • Utility for extracting token usage metadata from AI messages
  • Async memory backends:
    • to solve the function coloring problem, we extract the IO effect handling of the memory backends to Async/Sync backends, and the actual logic is in BackendPure. The yield generator stuff makes your head hurt, but no duplicated implementations
  • Tests:
    • A test framework for building simulated interactions with an llm with tool calls
    • tests for memory tool and vfs tool
  • Switches to UV and pyproject.toml as the one true source of package management.

@jtoman jtoman requested a review from shellygr April 1, 2026 21:47
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hard for me to track changes here since this file was moved, the generator stuff is indeed tricky

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this test?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing, it sets up test fixtures used by the memory test.

@jtoman jtoman merged commit 493ad6a into master Apr 2, 2026
2 checks passed
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