-
-
Notifications
You must be signed in to change notification settings - Fork 52
Add models method to all providers in OPENAI directory #51
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
Conversation
Add a `models` method to each provider in the `webscout/Provider/OPENAI` directory to return a list of available models. * **ai4chat.py** - Add a `models` method to return the list of available models for AI4Chat. * **Cloudflare.py** - Add a `models` method to return the list of available models for Cloudflare. * **freeaichat.py** - Add a `models` method to return the list of available models for FreeAIChat. * **glider.py** - Add a `models` method to return the list of available models for Glider. * **groq.py** - Add a `models` method to return the list of available models for Groq. * **netwrck.py** - Add a `models` method to return the list of available models for Netwrck. * **scirachat.py** - Add a `models` method to return the list of available models for SciraChat. * **textpollinations.py** - Add a `models` method to return the list of available models for TextPollinations. * **typefully.py** - Add a `models` method to return the list of available models for TypefullyAI. * **typegpt.py** - Add a `models` method to return the list of available models for TypeGPT. * **base.py** - Add an abstract `models` method to the `OpenAICompatibleProvider` class. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/OEvortex/Webscout?shareId=XXXX-XXXX-XXXX-XXXX).
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Add a
models
method to each provider in thewebscout/Provider/OPENAI
directory to return a list of available models.ai4chat.py
models
method to return the list of available models for AI4Chat.Cloudflare.py
models
method to return the list of available models for Cloudflare.freeaichat.py
models
method to return the list of available models for FreeAIChat.glider.py
models
method to return the list of available models for Glider.groq.py
models
method to return the list of available models for Groq.netwrck.py
models
method to return the list of available models for Netwrck.scirachat.py
models
method to return the list of available models for SciraChat.textpollinations.py
models
method to return the list of available models for TextPollinations.typefully.py
models
method to return the list of available models for TypefullyAI.typegpt.py
models
method to return the list of available models for TypeGPT.base.py
models
method to theOpenAICompatibleProvider
class.For more details, open the Copilot Workspace session.
PR Type
Enhancement
Description
Add
models
class method to all OpenAI provider classesDefine abstract
models
method in OpenAI base providerAdd devcontainer configuration for build and test tasks
Changes walkthrough 📝
11 files
Add `models` class method to AI4Chat provider
Add `models` class method to Cloudflare provider
Add `models` class method to FreeAIChat provider
Add `models` class method to Glider provider
Add `models` class method to Groq provider
Add `models` class method to Netwrck provider
Add `models` class method to SciraChat provider
Add `models` class method to TextPollinations provider
Add `models` class method to TypefullyAI provider
Add `models` class method to TypeGPT provider
Add abstract `models` method to OpenAI base provider
1 files
Add devcontainer config for build and test tasks