(enterpriseUrl?: string)
| 24 | } |
| 25 | |
| 26 | function base(enterpriseUrl?: string) { |
| 27 | return enterpriseUrl ? `https://copilot-api.${normalizeDomain(enterpriseUrl)}` : "https://api.githubcopilot.com" |
| 28 | } |
| 29 | |
| 30 | // Check if a message is a synthetic user msg used to attach an image from a tool call |
| 31 | function imgMsg(msg: any): boolean { |
no test coverage detected