codeinterpreter-api
codeinterpreter-api copied to clipboard
session.generate_response throws exception
The Dataset Analysis example seems broken. agenerate_response in session.py logs while running verbose mode
("Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.chat_completion.ChatCompletion'>",).
After running from the example:
response = await session.generate_response(
user_request, files=files
)
Is there any workaround or fix?
Running on Python 3.11.4 and codeinterpreterapi==0.0.11
Same error on Python 3.9.13 and codeinterpreterapi 0.0.14