createGitHubTools
createGitHubTools(
getAccessToken: () =>string|null,requestGitHubAccess: () =>Promise<string>):ToolConfig[]
Defined in: src/tools/github.ts:207Â
Create GitHub tools for the chat system.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
|
() => |
Returns the current GitHub access token (or null) |
|
|
() => |
Triggers the OAuth flow and returns a token |
Returns
ToolConfig[]
Last updated on