We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eedd07 commit e71f386Copy full SHA for e71f386
posthog/ai/utils.py
@@ -147,7 +147,7 @@ def format_response_anthropic(response):
147
tool_calls.append(tool_call)
148
149
if content_text or tool_calls:
150
- message = {
+ message: Dict[str, Any] = {
151
"role": "assistant",
152
"content": content_text if content_text else None,
153
}
@@ -285,7 +285,7 @@ def format_response_gemini(response):
285
286
287
288
289
290
291
0 commit comments