Add models method to all providers in OPENAI directory#51
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
modelsmethod to each provider in thewebscout/Provider/OPENAIdirectory to return a list of available models.ai4chat.py
modelsmethod to return the list of available models for AI4Chat.Cloudflare.py
modelsmethod to return the list of available models for Cloudflare.freeaichat.py
modelsmethod to return the list of available models for FreeAIChat.glider.py
modelsmethod to return the list of available models for Glider.groq.py
modelsmethod to return the list of available models for Groq.netwrck.py
modelsmethod to return the list of available models for Netwrck.scirachat.py
modelsmethod to return the list of available models for SciraChat.textpollinations.py
modelsmethod to return the list of available models for TextPollinations.typefully.py
modelsmethod to return the list of available models for TypefullyAI.typegpt.py
modelsmethod to return the list of available models for TypeGPT.base.py
modelsmethod to theOpenAICompatibleProviderclass.For more details, open the Copilot Workspace session.
PR Type
Enhancement
Description
Add
modelsclass method to all OpenAI provider classesDefine abstract
modelsmethod in OpenAI base providerAdd devcontainer configuration for build and test tasks
Changes walkthrough 📝
11 files
Add `models` class method to AI4Chat providerAdd `models` class method to Cloudflare providerAdd `models` class method to FreeAIChat providerAdd `models` class method to Glider providerAdd `models` class method to Groq providerAdd `models` class method to Netwrck providerAdd `models` class method to SciraChat providerAdd `models` class method to TextPollinations providerAdd `models` class method to TypefullyAI providerAdd `models` class method to TypeGPT providerAdd abstract `models` method to OpenAI base provider1 files
Add devcontainer config for build and test tasks