Skip to content

Commit 0c951bc

Browse files
committed
Merge branch 'sauce' of github.com:GetStream/Vision-Agents into sauce
2 parents 185d156 + de19ce9 commit 0c951bc

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

plugins/aws/example/aws_qwen_example.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from vision_agents.core import User, Agent, cli
1313
from vision_agents.core.agents import AgentLauncher
14-
from vision_agents.plugins import aws, getstream, cartesia, deepgram, smart_turn
14+
from vision_agents.plugins import aws, getstream, elevenlabs, deepgram, smart_turn
1515

1616

1717
logger = logging.getLogger(__name__)
@@ -26,11 +26,9 @@ async def create_agent(**kwargs) -> Agent:
2626
agent_user=User(name="Friendly AI", id="agent"),
2727
instructions="Be nice to the user",
2828
llm=aws.LLM(model="qwen.qwen3-32b-v1:0"),
29-
tts=cartesia.TTS(),
29+
tts=elevenlabs.TTS(),
3030
stt=deepgram.STT(),
31-
turn_detection=smart_turn.TurnDetection(
32-
buffer_in_seconds=2.0, confidence_threshold=0.5
33-
),
31+
turn_detection=smart_turn.TurnDetection(),
3432
)
3533
return agent
3634

@@ -49,7 +47,7 @@ async def join_call(agent: Agent, call_type: str, call_id: str, **kwargs) -> Non
4947
logger.info("Joining call")
5048
logger.info("LLM ready")
5149

52-
await asyncio.sleep(5)
50+
await asyncio.sleep(2)
5351
await agent.llm.simple_response(text="Say hi")
5452

5553
await agent.finish() # Run till the call ends

0 commit comments

Comments
 (0)