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

improvement: Tests for newer models of anyscale and openai #72

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Saif-Shines
Copy link
Contributor

Description:

  • Chat Completions API tests for newer model on OpenAI
  • Chat Completions API tests for newer models available on Anyscale
  • Commented: Jest configuration to increase default timeout 20s

Motivation:
This adds more coverage in testing chat completions for more models.

Address #71

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 8, 2024
const completion = await client.chat.completions.create({
model: 'codellama/CodeLlama-34b-Instruct-hf',
messages: [{ "role": "user", "content": "Say this is a test" }],
max_tokens: 30
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The max_tokens parameters make this line too long to read. So I pulled them on to each line.

  • The prettier configuration used is as same as that's available on the AI gateway repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant