Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Assistants API #21

Open
sarmadafzalj opened this issue Aug 26, 2024 · 0 comments
Open

Compatibility with Assistants API #21

sarmadafzalj opened this issue Aug 26, 2024 · 0 comments

Comments

@sarmadafzalj
Copy link

Inconsistent API Behavior:

  • Not all APIs support streaming, which prevents the application of token count policies across every request (e.g., create thread, create message). This limitation needs careful consideration when implementing such policies.

Deployment ID Issue in Assistant APIs:

  • When a deployment-id is passed to any assistant API, it corrupts the final OpenAI endpoint. For instance, the expected endpoint for chat completion is structured as: backend1.com/openai/deployment/gpt4/chat?api-version=.... However, with assistant APIs, the endpoint does not incorporate the /deployment/gpt4 path, leading to potential issues with dynamic URL generation. Since assistants are tied to specific subscriptions, the current failover mechanism is ineffective and requires revision.

Question:

  • Could you please confirm whether streaming is supported with the current implementation?

Thank you,
Sarmad

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

No branches or pull requests

1 participant