()
| 52 | } |
| 53 | |
| 54 | function parallelAuthHeaders() { |
| 55 | const headers = { "User-Agent": `opencode/${InstallationVersion}` } |
| 56 | if (!process.env.PARALLEL_API_KEY) return headers |
| 57 | return { ...headers, Authorization: `Bearer ${process.env.PARALLEL_API_KEY}` } |
| 58 | } |
| 59 | |
| 60 | function callProvider( |
| 61 | http: HttpClient.HttpClient, |