Skip to content

Conversation

@ml-evs
Copy link
Member

@ml-evs ml-evs commented Aug 29, 2025

Closes #1339.

Previously the chatblock was storing the available_models list per block in the database, but the new chatblock model introduced recently stopped this, so we need to use the default values instead.

@codecov
Copy link

codecov bot commented Aug 29, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.05%. Comparing base (b8d56fe) to head (e3f1cdb).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pydatalab/src/pydatalab/apps/chat/blocks.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1340      +/-   ##
==========================================
- Coverage   80.07%   80.05%   -0.02%     
==========================================
  Files          70       70              
  Lines        4727     4729       +2     
==========================================
+ Hits         3785     3786       +1     
- Misses        942      943       +1     
Files with missing lines Coverage Δ
pydatalab/src/pydatalab/apps/chat/models.py 100.00% <100.00%> (ø)
pydatalab/src/pydatalab/apps/chat/blocks.py 75.19% <80.00%> (-0.40%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cypress
Copy link

cypress bot commented Aug 29, 2025

datalab    Run #3825

Run Properties:  status check passed Passed #3825  •  git commit 402784be12 ℹ️: Merge e3f1cdb763849daa6e633808b8a4bece7b59f93d into b8d56fe9c87aba89e27524faa75d...
Project datalab
Branch Review ml-evs/fix-chatblock
Run status status check passed Passed #3825
Run duration 08m 05s
Commit git commit 402784be12 ℹ️: Merge e3f1cdb763849daa6e633808b8a4bece7b59f93d into b8d56fe9c87aba89e27524faa75d...
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 336
View all changes introduced in this branch ↗︎

@ml-evs ml-evs force-pushed the ml-evs/fix-chatblock branch from 4f7dfe3 to e3f1cdb Compare August 29, 2025 20:35
@ml-evs ml-evs merged commit 203e6a9 into main Aug 29, 2025
15 checks passed
@ml-evs ml-evs deleted the ml-evs/fix-chatblock branch August 29, 2025 21:36
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.

Chatblock component is broken

2 participants