The way to call the OpenAI python API has changed since the original functime LLM code was written.
If you try to use LLM now, it does nothing and says that you need to downgrade your version of the openai library to use the library.
We could alternatively enforce that the functime[llm] addon has a compatible version of openai, but I don't think it is desirable to keep an outdated version of the library when upgrading the code is so easy.
I have made some changes which fix the issue.
These are fairly superficial.
I haven't written any tests for this, which would need some good mocks, etc.
I 'tested' this by running the llm.iypnb notebook.
This is fixing breaking issues.
The way to call the OpenAI python API has changed since the original functime LLM code was written.
If you try to use LLM now, it does nothing and says that you need to downgrade your version of the openai library to use the library. We could alternatively enforce that the functime[llm] addon has a compatible version of openai, but I don't think it is desirable to keep an outdated version of the library when upgrading the code is so easy.
I have made some changes which fix the issue. These are fairly superficial.
I haven't written any tests for this, which would need some good mocks, etc. I 'tested' this by running the llm.iypnb notebook. This is fixing breaking issues.