Skip to content

Commit

Permalink
Revert accidental commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Jan 15, 2025
1 parent 3f4aa3c commit b703fa2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integrations/langfuse/example/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from haystack.dataclasses import ChatMessage
from haystack.utils.auth import Secret
from haystack.utils.hf import HFGenerationAPIType
from haystack.components.generators.utils import print_streaming_chunk

from haystack_integrations.components.connectors.langfuse import LangfuseConnector
from haystack_integrations.components.generators.anthropic import AnthropicChatGenerator
Expand All @@ -34,7 +33,7 @@
"cohere": CohereChatGenerator,
}

selected_chat_generator = generators[selected_chat_generator](model="gpt-3.5-turbo", streaming_callback=print_streaming_chunk)
selected_chat_generator = generators[selected_chat_generator]()

if __name__ == "__main__":

Expand Down

0 comments on commit b703fa2

Please sign in to comment.