Skip to content

Commit a216a41

Browse files
author
agent
committed
fix(samples): use valid agent name (underscores) in resilient_agent.py
1 parent c9875a0 commit a216a41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/resilient_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def generate_content_async(self, llm_request: LlmRequest, stream: bool = F
5151

5252
async def main():
5353
# Agent with the failing-then-succeed model
54-
agent = LlmAgent(name="resilient-agent", model="demo-fail-succeed")
54+
agent = LlmAgent(name="resilient_agent", model="demo-fail-succeed")
5555

5656
# Build services and runner in-memory
5757
artifact_service = InMemoryArtifactService()

0 commit comments

Comments
 (0)