Skip to content

Commit 131bbd3

Browse files
lgrammelBrianHung
andauthoredMay 30, 2024··
fix (ui) remove console logs (#1746)
Co-authored-by: BrianHung <brianlhung@gmail.com>
1 parent 97e2bd3 commit 131bbd3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎.changeset/shy-pumpkins-divide.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'ai': patch
3+
---
4+
5+
fix (ui): remove console.log statements

‎packages/core/shared/parse-complex-response.ts

-5
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,7 @@ export async function parseComplexResponse({
100100
// In the future we should make this non-blocking, which
101101
// requires additional state management for error handling etc.
102102
if (onToolCall) {
103-
console.log('onToolCall', value);
104-
105103
const result = await onToolCall({ toolCall: value });
106-
107-
console.log('onToolCall result', result);
108-
109104
if (result != null) {
110105
// store the result in the tool invocation
111106
prefixMap.text.toolInvocations[

0 commit comments

Comments
 (0)
Please sign in to comment.