langchain-ai / opengpts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable versioning of API paths

ptgoetz opened this issue · comments

What?

Prepend something like /api/v1/ to all OpenGPTs API enpoints.

Why?

The OpenGPTs API is pretty much guaranteed to change over time. While the current API is in a very high state of flux, eventually it will stabilize and become a 1.0 release. Adding versioning to API paths early on will make version update/deprecation/removal more manageable.