openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

Assistant API url Invalid

Open Adityabhaskar685 opened this issue 3 years ago • 7 comments

Code

image

Error

image

openai version - 1.1.0

Adityabhaskar685 avatar Nov 06 '23 21:11 Adityabhaskar685

Same here, I got same issue

mehmetkoca avatar Nov 06 '23 21:11 mehmetkoca

Having the same issue here

Kabilan108 avatar Nov 06 '23 21:11 Kabilan108

+1, Same issue here

update: Inexplicably just started working for me.

ryanzola avatar Nov 06 '23 21:11 ryanzola

Same

vvvv-ops avatar Nov 06 '23 21:11 vvvv-ops

+1

jacc avatar Nov 06 '23 21:11 jacc

How did you manage to figure out the beta package? I'm using the V1.1.0 and getting the following error: '--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /Users/gshiklov/TheGG-Machine/GG-AssistantHandler.py in line 7 11 client = OpenAI(openai_api_key=OPENAI_API_KEY) 12 # assistant = Assistant() ----> 13 methods = inspect.getmembers(openai.types.beta.assistants, predicate=inspect.ismethod) 15 # Print the names of the methods. 16 for method in methods:

AttributeError: module 'openai.types.beta' has no attribute 'assistants''

Jeremaiha avatar Nov 06 '23 22:11 Jeremaiha

from openai import OpenAI

client = OpenAI()

danieltty avatar Nov 07 '23 02:11 danieltty