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

Bilalkamal/add cerebras provider #109

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Bilalkamal
Copy link

Add Cerebras Provider Support

Description

Added support for Cerebras, a fast inference provider, to expand aisuite's provider options.

Changes Made

  • Added Cerebras provider implementation in providers/cerebras_provider.py
  • Added necessary environment variables for Cerebras API authentication
  • Implemented provider class following the convention CerebrasProvider
  • Added type hints and documentation following project standards

Testing

  • Tested provider initialization
  • Verified API connection and authentication
  • Tested chat completion functionality
  • All existing tests pass

Environment Variables Added

CEREBRAS_API_KEY=

Related Documentation

  • Updated .env.sample with Cerebras configuration
  • Added Cerebras to the list of supported providers in README.md

Checklist

  • Code follows project style guidelines
  • Updated documentation
  • Added environment variables to .env.sample
  • Pre-commit hooks pass

Additional Notes

Cerebras integration provides fast inference capabilities which can benefit users requiring quick response times.

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

Successfully merging this pull request may close these issues.

1 participant