Skip to content

Add # DOC metadata to guest.py for collect_doc_meta() discoverability - #58

Merged
erinepshovel-code merged 2 commits into
mainfrom
copilot/fix-code-review-suggestion-yet-again
May 25, 2026
Merged

erinepshovel-code merged 2 commits into
mainfrom
copilot/fix-code-review-suggestion-yet-again

Conversation

Copilot AI commented May 25, 2026

Copy link
Copy Markdown
Contributor

python/routes/guest.py was missing its # DOC metadata block, so it produced no output from collect_doc_meta() even though the file was already in the allowlist — leaving the guest chat endpoint absent from /api/v1/docs.

Changes

  • python/routes/guest.py — Added # DOC block (module, label, description, tier, endpoint); updated annotation stamp 32:0 → 32:5:

    # 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.
  • python/routes/__init__.py — No change needed; guest.py was already present in collect_doc_meta()'s allowlist.

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>
Copilot AI requested review from Copilot and removed request for Copilot May 25, 2026 06:51
Copilot AI changed the title [WIP] Fix code for review comment Add # DOC metadata to guest.py for collect_doc_meta() discoverability May 25, 2026
Copilot AI requested a review from erinepshovel-code May 25, 2026 06:52
@erinepshovel-code
erinepshovel-code marked this pull request as ready for review May 25, 2026 07:00
Copilot AI review requested due to automatic review settings May 25, 2026 07:00
@erinepshovel-code
erinepshovel-code merged commit e33ec85 into main May 25, 2026
6 checks passed
Copilot AI removed the request for review from Copilot May 25, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants