From c91fa39a99c46daf83c9f31d6dbcc0f289003703 Mon Sep 17 00:00:00 2001 From: Moishe Lettvin Date: Fri, 15 Mar 2024 19:42:46 -0400 Subject: [PATCH] Remove testing code --- src/dailyai/services/anthropic_llm_service.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/dailyai/services/anthropic_llm_service.py b/src/dailyai/services/anthropic_llm_service.py index e7d25e1cc..a58c610d7 100644 --- a/src/dailyai/services/anthropic_llm_service.py +++ b/src/dailyai/services/anthropic_llm_service.py @@ -33,19 +33,3 @@ class AnthropicLLMService(LLMService): async for event in stream: if event.type == "content_block_delta": yield TextFrame(event.delta.text) - - -async def test(): - service = AnthropicLLMService(api_key=os.getenv("ANTHROPIC_API_KEY")) - messages = [ - { - "role": "user", - "content": "Hello, Claude", - } - ] - async for frame in service.process_frame(LLMMessagesQueueFrame(messages)): - print(frame) - - -if __name__=="__main__": - asyncio.run(test())