(data: Record<string, string>)
| 47 | } |
| 48 | |
| 49 | function objectToUrlEncoded(data: Record<string, string>): string { |
| 50 | return Object.keys(data) |
| 51 | .map((key) => `${encodeURIComponent(key)}=${encodeURIComponent(data[key])}`) |
| 52 | .join("&") |
| 53 | } |
| 54 | |
| 55 | export class QwenCodeHandler extends BaseProvider implements SingleCompletionHandler { |
| 56 | protected options: QwenCodeHandlerOptions |
no test coverage detected