Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
genkit-ai
/
genkit
Public
Notifications
You must be signed in to change notification settings
Fork
847
Star
6.5k
Code
Issues
532
Pull requests
238
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
feat(go/ai): promote interruptible tools and
ai/tool
to stable, resolved through claimed calls
- #6325
#6325
Draft
apascal07
wants to merge 28 commits into
main
genkit-ai/genkit:main
from
ap/go-typed-part-interrupts
genkit-ai/genkit:ap/go-typed-part-interrupts
Copy head branch name to clipboard
Conversation
Commits
28
(28)
Checks
Files changed
Draft
feat(go/ai): promote interruptible tools and
ai/tool
to stable, resolved through claimed calls
#6325
apascal07
wants to merge 28 commits into
main
genkit-ai/genkit:main
from
ap/go-typed-part-interrupts
genkit-ai/genkit:ap/go-typed-part-interrupts
Copy head branch name to clipboard
Commits
Commits on Sep 9, 2026
feat(go/ai): promote interruptible tools and `ai/tool` to stable, with typed `Part` interrupt state
Show description for f1446ab
apascal07
committed
f1446ab
View commit details
Copy full SHA for f1446ab
Browse repository at this point
Commits on Sep 10, 2026
feat(go/ai): resolve interrupts through claimed calls on one tool struct
Show description for 9a729ca
apascal07
committed
9a729ca
View commit details
Copy full SHA for 9a729ca
Browse repository at this point
docs(go/genkit): document the claimed-call flow on DefineInterruptibleTool
apascal07
committed
df811ef
View commit details
Copy full SHA for df811ef
Browse repository at this point
docs(go): move the README and exp references onto the claimed-call verbs
apascal07
committed
a425296
View commit details
Copy full SHA for a425296
Browse repository at this point
refactor(go/ai): read interrupt and restart state through one accessor pair
Show description for aedc65e
apascal07
committed
aedc65e
View commit details
Copy full SHA for aedc65e
Browse repository at this point
refactor(go/ai): fold the payload converters into one and check interrupts in the loop
Show description for 5b41a37
apascal07
committed
5b41a37
View commit details
Copy full SHA for 5b41a37
Browse repository at this point
refactor(go/ai): share the constructor prologue and read multipart from the action
Show description for f2d18ff
apascal07
committed
f2d18ff
View commit details
Copy full SHA for f2d18ff
Browse repository at this point
test(go/ai): drop coverage the shared constructor and verbs already have
Show description for 32f6a35
apascal07
committed
32f6a35
View commit details
Copy full SHA for 32f6a35
Browse repository at this point
docs(go): list every tool option on the tool constructors and on ToolOption
Show description for 9fc9ef8
apascal07
committed
9fc9ef8
View commit details
Copy full SHA for 9fc9ef8
Browse repository at this point
feat(go/ai/tool): take the tool's context in Interrupt
Show description for 174654d
apascal07
committed
174654d
View commit details
Copy full SHA for 174654d
Browse repository at this point
fix(go/ai): read resume markers by truthiness and let a restart carry its interrupt
Show description for 7288d17
apascal07
committed
7288d17
View commit details
Copy full SHA for 7288d17
Browse repository at this point
fix(go/ai): decline a tool request part with no request in every interrupt verb
Show description for 0eeb791
apascal07
committed
0eeb791
View commit details
Copy full SHA for 0eeb791
Browse repository at this point
fix(go/ai): normalize interrupt data to a JSON object where it is raised
Show description for 3097e70
apascal07
committed
3097e70
View commit details
Copy full SHA for 3097e70
Browse repository at this point
fix(go/ai): read the resume payload the same way through every reader
Show description for b6b4691
apascal07
committed
b6b4691
View commit details
Copy full SHA for b6b4691
Browse repository at this point
fix(go/ai): collect attached parts around the whole tool call
Show description for 8815b6a
apascal07
committed
8815b6a
View commit details
Copy full SHA for 8815b6a
Browse repository at this point
fix(go/ai): make replacing the input an explicit decision of the restart verbs
Show description for 4b4cb10
apascal07
committed
4b4cb10
View commit details
Copy full SHA for 4b4cb10
Browse repository at this point
fix(go/ai/exp): accept a restart that revised the input through the agent
Show description for a8c561e
apascal07
committed
a8c561e
View commit details
Copy full SHA for a8c561e
Browse repository at this point
refactor(go/ai): share the resolved-request tail of handleResumedToolRequest
Show description for ae17022
apascal07
committed
ae17022
View commit details
Copy full SHA for ae17022
Browse repository at this point
fix(go/samples/basic-agents): leave an unreadable transfer interrupt unresolved
Show description for 752a2fc
apascal07
committed
752a2fc
View commit details
Copy full SHA for 752a2fc
Browse repository at this point
fix(go/ai): say why a claim declined a part whose input does not decode
Show description for 2e0061a
apascal07
committed
2e0061a
View commit details
Copy full SHA for 2e0061a
Browse repository at this point
docs(go/ai): state where interrupt state lives and what the markers mean
Show description for bbdbaf3
apascal07
committed
bbdbaf3
View commit details
Copy full SHA for bbdbaf3
Browse repository at this point
test(go/ai): colocate the external tool tests with tools.go by name
Show description for e49bd22
apascal07
committed
e49bd22
View commit details
Copy full SHA for e49bd22
Browse repository at this point
refactor(go/ai): deprecate the ai resume readers in favor of ai/tool
Show description for a64bb18
apascal07
committed
a64bb18
View commit details
Copy full SHA for a64bb18
Browse repository at this point
fix(go/ai): keep stale keys off the wire when folding interrupt state
Show description for 2918aef
apascal07
committed
2918aef
View commit details
Copy full SHA for 2918aef
Browse repository at this point
refactor(go/ai): write the advertised output schema once
Show description for 9e79f1a
apascal07
committed
9e79f1a
View commit details
Copy full SHA for 9e79f1a
Browse repository at this point
feat(go/ai): advertise the schema of Res and validate restart payloads against it
Show description for 3ef6f40
apascal07
committed
3ef6f40
View commit details
Copy full SHA for 3ef6f40
Browse repository at this point
docs(go): note in the README that a restart's answer is validated against Res
apascal07
committed
ab13def
View commit details
Copy full SHA for ab13def
Browse repository at this point
fix(go/ai): answer a restart to the stage that raised the interrupt
Show description for a5d3917
apascal07
committed
a5d3917
View commit details
Copy full SHA for a5d3917
Browse repository at this point
You can’t perform that action at this time.