Skip to content

Conversation

@GaspardBT
Copy link
Collaborator

@GaspardBT GaspardBT commented Sep 13, 2024

This PR updates the SDKs to match the latest API specs, mainly:

  • Add support for sending images to the completion API (find an example here:examples/async_chat_with_image_no_streaming.py)
  • Model Card update split into base and FT models

How to review:

  • 1d406df: contains the update related to the spec changes
  • 541a2b4: contains the update to the code generation update (mainly code formatting)

@socket-security
Copy link

socket-security bot commented Sep 13, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
pypi/pydantic-core@2.23.3 environment, eval, filesystem, shell, unsafe 0 6.86 MB samuelcolvin

🚮 Removed packages: pypi/nodeenv@1.9.0, pypi/pyright@1.1.374, pypi/pyright@1.1.380

View full report↗︎

@GaspardBT
Copy link
Collaborator Author

fixes #141

MIGRATION.md Outdated
# ),
# ]
async_response = await client.chat.complete(
async_response = await client.chat.stream(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GaspardBT Isn't it stream_async?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah 😓 Sorry, done in df72773

@GaspardBT GaspardBT merged commit 290e1bf into main Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants