You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "gpt-3.5-turbo" model may be outdated and might not perform optimally for your needs.
Consider using an alternative model or provider. Here's an example of how you can specify the model and provider in your code:
constoptions={provider: "Copilot",// Microsoft Copilotmodel: "",// Default model debug: true,proxy: ""};
const { G4F } = require("g4f");
const g4f = new G4F();
const messages = [
{ role: "user", content: "Hi, what's up?"}
];
const options = {
provider: g4f.providers.GPT,
model: "gpt-3.5-turbo",
debug: true,
proxy: ""
};
(async () => {
try {
console.log("Sending request...");
})();
Sending request...
[provider] » ... awaiting Picking a provider from the working list...
[provider] » √ success Provider found: GPT
[model] » √ success Using the model: gpt-3.5-turbo
[provider] » ... awaiting Fetching data from the provider: GPT
Error: Invalid response.
Full Error: {}
The text was updated successfully, but these errors were encountered: