Skip to content

Implements parallel openapi spec only for use by LLM#1336

Open
vshekar wants to merge 8 commits into
bluesky:mainfrom
vshekar:llm_openapi
Open

Implements parallel openapi spec only for use by LLM#1336
vshekar wants to merge 8 commits into
bluesky:mainfrom
vshekar:llm_openapi

Conversation

@vshekar
Copy link
Copy Markdown
Contributor

@vshekar vshekar commented Apr 8, 2026

This is for testing purposes only

Checklist

  • Add a Changelog entry
  • Add the ticket number which this PR closes to the comment section

This is for testing purposes only
@vshekar vshekar requested review from danielballan and genematx April 8, 2026 13:03
Comment thread tiled/server/app.py Outdated
async def healthz():
return {"status": "ready"}

@app.get("/openapi_agent.json", include_in_schema=False)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capturing an idea from conversation:

If we implement this as openapi.json?agent it will gracefully fallback to openapi.json if we later change our minds about wanting a separate/dedicated schema for agents. (Maybe in the future agents will have bigger context windows....)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be tricky because FastAPI registers that endpoint internally and customizing it may break /docs and /redoc. Probably updating custom_openapi is our best option

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-declared all three below... not sure it's the best option

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.

3 participants