datalab-org / datalab

datalab is a place to store experimental data and the connections between them.
https://docs.datalab-org.io
MIT License
42 stars 17 forks source link

Deprecate gpt-3.5-turbo series and handle missing models in chatblock #855

Closed ml-evs closed 1 week ago

ml-evs commented 3 weeks ago

Closes #834.

gpt-3.5-turbo are being turned off next month. This PR removes them from the chatblock, but allows old chats to default to the new default model.

Still need to do some local testing.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 68.12%. Comparing base (6c764a7) to head (48ae523). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pydatalab/pydatalab/apps/chat/blocks.py 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #855 +/- ## ========================================== - Coverage 68.14% 68.12% -0.02% ========================================== Files 62 62 Lines 3889 3890 +1 ========================================== Hits 2650 2650 - Misses 1239 1240 +1 ``` | [Files with missing lines](https://app.codecov.io/gh/datalab-org/datalab/pull/855?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalab-org) | Coverage Δ | | |---|---|---| | [pydatalab/pydatalab/apps/chat/blocks.py](https://app.codecov.io/gh/datalab-org/datalab/pull/855?src=pr&el=tree&filepath=pydatalab%2Fpydatalab%2Fapps%2Fchat%2Fblocks.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=datalab-org#diff-cHlkYXRhbGFiL3B5ZGF0YWxhYi9hcHBzL2NoYXQvYmxvY2tzLnB5) | `20.16% <0.00%> (-0.17%)` | :arrow_down: |
cypress[bot] commented 3 weeks ago

datalab    Run #2352

Run Properties:  status check passed Passed #2352  •  git commit b218a44835 ℹ️: Merge 48ae52331adfae144d422ef33961763fff44988d into 6c764a770e2cf6fbe90058bfc15f...
Project datalab
Branch Review ml-evs/deprecate-gpt3
Run status status check passed Passed #2352
Run duration 04m 08s
Commit git commit b218a44835 ℹ️: Merge 48ae52331adfae144d422ef33961763fff44988d into 6c764a770e2cf6fbe90058bfc15f...
Committer Matthew Evans
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 132
View all changes introduced in this branch ↗︎