We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e0af9e commit 1ed1b0cCopy full SHA for 1ed1b0c
1 file changed
src/modules/hybrid/hybrid_session.ts
@@ -55,8 +55,12 @@ export class HybridSession extends BaseSession {
55
block.type === "text" ? {type: "text", text: block.text} : block
56
)
57
58
+ if (response.content.find((block) => block.type === "text")?.text) {
59
+ console.log(`🤖 ${response.content.find((block) => block.type === "text")?.text}`)
60
+ }
61
+
62
this.messages.push({role: "assistant", content: responseContent})
-
63
64
if (response.stop_reason !== "tool_use") {
65
console.log(response.content.find((block) => block.type === "text")?.text ?? "")
66
break
0 commit comments