feat: make repository/issuenumber inputs in tools optional #141
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/optional-tool-params"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On long context models get lost and hallucinate names and numbers. If omitted we use the correct one and save some tokens.
Changes
close-issue,create-issue,create-issue-comment,create-pr,create-pr-review) from static exports to factory functionsrepositoryandissueNumber/prNumberparameters optional in the TypeBox schemasmain.tsto instantiate tools via the new factory functions, passing the repository and issue number from the event contextBenefits