a2a-source-edit: write agent.py
This commit is contained in:
6
agent.py
6
agent.py
@@ -103,6 +103,12 @@ class BrowserQuoteDocument(BaseModel):
|
|||||||
return cleaned[:160]
|
return cleaned[:160]
|
||||||
|
|
||||||
|
|
||||||
|
class QuoteJudgeState(BaseModel):
|
||||||
|
"""Durable state is stored in managed Postgres; this schema advertises that fact."""
|
||||||
|
|
||||||
|
persistence: str = "managed_postgres"
|
||||||
|
|
||||||
|
|
||||||
class QuoteJudgeStudioV1(A2AAgent[QuoteJudgeStudioV1Config, PlatformUserAuth]):
|
class QuoteJudgeStudioV1(A2AAgent[QuoteJudgeStudioV1Config, PlatformUserAuth]):
|
||||||
name = "quote-judge-studio-v1"
|
name = "quote-judge-studio-v1"
|
||||||
description = (
|
description = (
|
||||||
|
|||||||
Reference in New Issue
Block a user