Error when calling g4f client #3294
tanishqravula
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
from g4f.client import Client
client = Client()⚠️ Sorry, something went wrong with the provider. Please try again later. (API key is required for Puter.js API)
response = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello, how are you?"}],
web_search=False
)
print(response.choices[0].message.content) for this coder when im executing im getting this error raise MissingAuthError("No Yupp accounts configured. Set YUPP_API_KEY environment variable.")
g4f.errors.MissingAuthError: No Yupp accounts configured. Set YUPP_API_KEY environment variable.
and
Could the team pleaselook into it its urgent as we are using this feature in our application
Beta Was this translation helpful? Give feedback.
All reactions