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

[Feature]: upgrade openai dependency to 1.0

Open levity opened this issue 1 year ago • 2 comments

Brief Description

Update the openai dependency to the newest version >=1.0 and adapt Vocode to work with its changed API surface

Rationale

Upgrading to 1.0 would allow easier integration with other python libraries that are already on openai 1.0, such as http://askmarvin.ai, as well as allowing the use of new features in the library that are only added to 1.0 and later versions

Suggested Implementation

No response

levity avatar Mar 18 '24 22:03 levity

https://github.com/openai/openai-python/discussions/742

arpagon avatar Apr 19 '24 22:04 arpagon

The migration is not trivial for this test

https://github.com/vocodedev/vocode-python/blob/3f97e3982c473874204ee75563baa8ce4cd22b52/tests/streaming/agent/test_utils.py#L2C34-L2C46

  • https://github.com/openai/openai-python/issues/715
  • https://github.com/openai/openai-python/issues/398

arpagon avatar Apr 20 '24 03:04 arpagon

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 20 '24 01:06 github-actions[bot]

This was updated in version 0.1.113.

arpagon avatar Jun 20 '24 01:06 arpagon