From ec95c2a4d147fca1a5e06fe36a0e882e97723eea Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 25 May 2026 06:44:44 +0000 Subject: [PATCH 1/2] Initial plan From 7d2709e8dcca2a4b5700accb7774c579ae5107f9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 25 May 2026 06:51:41 +0000 Subject: [PATCH 2/2] Add # DOC metadata to guest.py so collect_doc_meta() can discover it Agent-Logs-Url: https://github.com/The-Interdependency/a0/sessions/88fadbf8-2059-4062-831a-bcba488e58c8 Co-authored-by: erinepshovel-code <250928284+erinepshovel-code@users.noreply.github.com> --- python/routes/guest.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python/routes/guest.py b/python/routes/guest.py index 5f09a916..0a27a15f 100644 --- a/python/routes/guest.py +++ b/python/routes/guest.py @@ -1,4 +1,9 @@ -# 32:0 0:0 1:2 +# 32:5 0:0 1:2 +# DOC module: guest +# DOC label: Guest Chat +# DOC description: Unauthenticated preview chat endpoint that routes through the currently active provider. +# DOC tier: free +# DOC endpoint: POST /api/v1/guest/chat | Send one guest preview message. from fastapi import APIRouter, HTTPException from pydantic import BaseModel @@ -42,4 +47,4 @@ async def guest_chat(body: GuestChatBody): tokens_used = max(10, len(body.message.split()) + len(content.split())) return {"content": content, "tokens_used": tokens_used} -# 32:0 0:0 1:2 +# 32:5 0:0 1:2