190proof 1.0.34 → 1.0.35
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/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31702,6 +31702,7 @@ async function callOpenAIStream(identifier, openAiPayload, openAiConfig, chunkTi
|
|
|
31702
31702
|
continue;
|
|
31703
31703
|
}
|
|
31704
31704
|
const toolCall = (_a3 = json.choices[0].tool_calls) == null ? void 0 : _a3[0];
|
|
31705
|
+
console.log(identifier, "Tool call:", toolCall);
|
|
31705
31706
|
if (toolCall) {
|
|
31706
31707
|
const toolCallIndex = toolCall.index || 0;
|
|
31707
31708
|
if (toolCallIndex === 0) {
|