Skip to content

Conversation

@mattf
Copy link
Collaborator

@mattf mattf commented Sep 1, 2025

What does this PR do?

unpublish (make unavailable to users) the following apis -

  • /v1/inference/completion, replaced by /v1/openai/v1/completions
  • /v1/inference/chat-completion, replaced by /v1/openai/v1/chat/completions
  • /v1/inference/embeddings, replaced by /v1/openai/v1/embeddings
  • /v1/inference/batch-completion, replaced by /v1/openai/v1/batches
  • /v1/inference/batch-chat-completion, replaced by /v1/openai/v1/batches

note: the implementations are still available for internal use, e.g. agents uses chat-completion.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 1, 2025
@mattf
Copy link
Collaborator Author

mattf commented Sep 1, 2025

@raghotham @ashwinb this can go into the 0.3 release and the impls can be removed later

@@ -1,187 +0,0 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
Copy link
Contributor

Choose a reason for hiding this comment

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

why was this removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it was only testing with the removed api

Copy link
Contributor

Choose a reason for hiding this comment

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

@mattf but then would the tests be meaningful if you converted the calls to the openai equivalents?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ported these over.

@@ -1,545 +0,0 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
Copy link
Contributor

Choose a reason for hiding this comment

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

we had a bunch of tests here. just quickly checking if we have coverage for the openai endpoints in place?

Copy link
Collaborator Author

@mattf mattf Sep 27, 2025

Choose a reason for hiding this comment

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

ported most of these over. skipped the llama-4 one.

@ashwinb ashwinb merged commit 53b1572 into llamastack:main Sep 27, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants