diff --git a/agent.py b/agent.py index 9f6ae6c..eeef0c4 100644 --- a/agent.py +++ b/agent.py @@ -35,11 +35,11 @@ class AgentReviewer(A2AAgent[ReviewerConfig, NoAuth]): config_model = ReviewerConfig auth_model = NoAuth tools_used = ("deepagents", "a2a-pack", "litellm", "microsandbox", "gitea") - llm_provisioning = LLMProvisioning.PLATFORM_OR_CALLER_PROVIDED + llm_provisioning = LLMProvisioning.PLATFORM wants_cp_jwt = True pricing = Pricing( price_per_call_usd=0.05, - caller_pays_llm=False, + caller_pays_llm=True, notes=( "Reads target source via a short-lived, repo-scoped Gitea " "token minted on the caller's behalf. Never deploys or writes." @@ -74,8 +74,8 @@ class AgentReviewer(A2AAgent[ReviewerConfig, NoAuth]): return { "error": "llm_credentials_missing", "final": ( - "LLM credentials were not available for this review. " - "Hosted reviewer runs should receive a platform LLM grant." + "LLM key required. Add an LLM credential in Settings > " + "LLM credentials before running this review." ), "agent_name": agent_name, "ref": ref,