@dianshuv/copilot-api 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.mjs +3 -3
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -1213,7 +1213,7 @@ const patchClaude = defineCommand({
|
|
|
1213
1213
|
|
|
1214
1214
|
//#endregion
|
|
1215
1215
|
//#region package.json
|
|
1216
|
-
var version = "0.7.
|
|
1216
|
+
var version = "0.7.4";
|
|
1217
1217
|
|
|
1218
1218
|
//#endregion
|
|
1219
1219
|
//#region src/lib/adaptive-rate-limiter.ts
|
|
@@ -7657,7 +7657,7 @@ async function handleDirectAnthropicStreamingResponse(opts) {
|
|
|
7657
7657
|
toolCount: anthropicPayload.tools?.length ?? 0
|
|
7658
7658
|
});
|
|
7659
7659
|
} catch (error) {
|
|
7660
|
-
consola.error("Direct Anthropic stream error:", formatError(error)
|
|
7660
|
+
consola.error("Direct Anthropic stream error:", formatError(error));
|
|
7661
7661
|
recordStreamError({
|
|
7662
7662
|
acc,
|
|
7663
7663
|
fallbackModel: anthropicPayload.model,
|
|
@@ -7843,7 +7843,7 @@ async function handleStreamingResponse(opts) {
|
|
|
7843
7843
|
toolCount: anthropicPayload.tools?.length ?? 0
|
|
7844
7844
|
});
|
|
7845
7845
|
} catch (error) {
|
|
7846
|
-
consola.error("Stream error:", formatError(error)
|
|
7846
|
+
consola.error("Stream error:", formatError(error));
|
|
7847
7847
|
recordStreamError({
|
|
7848
7848
|
acc,
|
|
7849
7849
|
fallbackModel: anthropicPayload.model,
|