meistrari / cursive-py

✦ The intuitive python LLM framework
171 stars 18 forks source link

Quality of life improvements #9

Closed CyrusOfEden closed 1 year ago

CyrusOfEden commented 1 year ago
  1. Register the openai.requestssession.close method on shutdown to gracefully clean up.
  2. Support both Pydantic V2 and Pydantic V1 to enable usage with software like Prefect and Dagster (which are currently stuck on V1)
CyrusOfEden commented 1 year ago

Just updated the openrouter example in the readme to be cleaner 👍

CyrusOfEden commented 1 year ago

Should I bump the version number in the PR?

henrycunh commented 1 year ago

Should I bump the version number in the PR?

No need to! I will do it when I bundle changes into a release!