refactor(connectors)!: move connector routes to /v1alpha/admin/connectors#5659
refactor(connectors)!: move connector routes to /v1alpha/admin/connectors#5659mattf wants to merge 3 commits intoogx-ai:mainfrom
Conversation
…tors Connectors are admin controlled resources. Connector routes previously served at /v1beta/connectors/* are now served at /v1alpha/admin/connectors/* as part of the admin router. Admin protocol now extends Connectors, so AdminImpl satisfies both protocols. AdminImpl delegates connector methods to the injected ConnectorServiceImpl. The standalone connectors FastAPI router is removed; admin/fastapi_routes.py owns all connector routes. Signed-off-by: Matthew Farrellee <matt@cs.wisc.edu>
✱ Stainless preview buildsThis PR will update the Edit this comment to update it. It will appear in the SDK's changelogs. ✅ llama-stack-client-go studio · conflict
✅ llama-stack-client-node studio · conflict
✅ llama-stack-client-openapi studio · code · diff
✅ llama-stack-client-python studio · code · diff
This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push. |
Can you expand on that? I'd say so are all our server configs (inference, vector db etc) - what's so unique about Connectors versus other resources? |
inference is definitely also an admin controlled resource, we don't let users install new inference providers vector dbs are user scoped resources, while the available vector providers are admin controlled resources connectors are a shorthand in Responses that are cross user. |
|
i find it strange that users have to go through an /admin endpoint to list available connectors, feels off. to me connectors are no different than tools at this point and they don't serve through /admin? |

Connectors are admin controlled resources.
Connector routes previously served at /v1beta/connectors/* are now served at /v1alpha/admin/connectors/* as part of the admin router.
Admin protocol now extends Connectors, so AdminImpl satisfies both protocols. AdminImpl delegates connector methods to the injected ConnectorServiceImpl. The standalone connectors FastAPI router is removed; admin/fastapi_routes.py owns all connector routes.