(accessToken: string)
| 16 | const ANTHROPIC_VERSION = '2023-06-01' |
| 17 | |
| 18 | function oauthHeaders(accessToken: string): Record<string, string> { |
| 19 | return { |
| 20 | Authorization: `Bearer ${accessToken}`, |
| 21 | 'Content-Type': 'application/json', |
| 22 | 'anthropic-version': ANTHROPIC_VERSION, |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | export async function createCodeSession( |
| 27 | baseUrl: string, |
no outgoing calls
no test coverage detected