Skip to content

Commit 5e7fed8

Browse files
authored
feat(openai_movement): Change URL structures to kill /openai/v1 (part 1) (#3587)
The `/v1/openai/v1` prefix is annoying and now unnecessary given our clearer focus on how to think about the API surface. Let's kill it for the 0.3.0 update. To make client-side changes feasible, we will do this in two parts. This part adds a new route (sans `/openai/v1`) so the existing client continues to work since the server supports both. The next PR will be client-side (Stainless) changes which I will be making shortly. The final PR will remove the `/openai/v1` routes. Note that all these changes will happen rapidly within this release cycle. The entire set _will be backwards incompatible_.
1 parent ddf3f17 commit 5e7fed8

File tree

11 files changed

+2849
-139
lines changed

11 files changed

+2849
-139
lines changed

.github/workflows/conformance.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,4 @@ jobs:
6666
# This step will fail if incompatible changes are detected, preventing breaking changes from being merged
6767
- name: Run OpenAPI Breaking Change Diff
6868
run: |
69-
oasdiff breaking --fail-on ERR base/docs/static/llama-stack-spec.yaml docs/static/llama-stack-spec.yaml --match-path '^/v1/openai/v1' \
70-
--match-path '^/v1/vector-io' \
71-
--match-path '^/v1/vector-dbs'
69+
oasdiff breaking --fail-on ERR base/docs/static/llama-stack-spec.yaml docs/static/llama-stack-spec.yaml --match-path '^/v1/'

0 commit comments

Comments
 (0)