Skip to content

Commit 784c7df

Browse files
silvestridbram2w
andauthored
Switch to udspy (baserow#4153)
* Switch to udspy * fix search tool and message history * Added embeddings server docs * Remove remaining litellm references * bump udspy version to v0.1.6 * Added docs for setting up the AI-assistant * fixed table * port workflow formula generation tools to udspy * Set a fake OPENAI_API_KEY for tests * Fix flaky tests --------- Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
1 parent 36f7975 commit 784c7df

File tree

37 files changed

+1125
-1630
lines changed

37 files changed

+1125
-1630
lines changed

backend/.flake8

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
extend-ignore = E203, W503, F541, E501
33
max-doc-length = 88
44
per-file-ignores =
5-
tests/*: F841, BAI001
6-
../premium/backend/tests/*: F841, BAI001
7-
../enterprise/backend/tests/*: F841, BAI001
5+
tests/*: F841
6+
../premium/backend/tests/*: F841
7+
../enterprise/backend/tests/*: F841
88
src/baserow/contrib/database/migrations/*: BDC001
99
src/baserow/core/migrations/*: BDC001
1010
src/baserow/core/psycopg.py: BPG001
@@ -19,5 +19,4 @@ exclude =
1919
extension =
2020
BDC001 = flake8_baserow:DocstringPlugin
2121
BPG001 = flake8_baserow:BaserowPsycopgChecker
22-
BAI001 = flake8_baserow:BaserowAIImportsChecker
2322
paths = ./flake8_plugins
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from .docstring import Plugin as DocstringPlugin
22
from .psycopg import BaserowPsycopgChecker
3-
from .ai_imports import BaserowAIImportsChecker
43

5-
__all__ = ["DocstringPlugin", "BaserowPsycopgChecker", "BaserowAIImportsChecker"]
4+
__all__ = ["DocstringPlugin", "BaserowPsycopgChecker"]

backend/flake8_plugins/flake8_baserow/ai_imports.py

Lines changed: 0 additions & 86 deletions
This file was deleted.

backend/flake8_plugins/tests/test_flake8_baserow_ai_imports.py

Lines changed: 0 additions & 212 deletions
This file was deleted.

backend/requirements/base.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ django-celery-beat==2.6.0
2525
celery-redbeat==2.2.0
2626
flower==2.0.1
2727
service-identity==24.1.0
28-
regex==2024.4.28
28+
regex==2025.10.23
2929
antlr4-python3-runtime==4.9.3
3030
tqdm==4.66.4
3131
boto3==1.40.40
@@ -86,7 +86,6 @@ tornado==6.5.0 # Pinned to address vulnerability.
8686
certifi==2025.4.26 # Pinned to address vulnerability.
8787
httpcore==1.0.9 # Pinned to address vulnerability.
8888
genson==1.3.0
89-
dspy-ai==3.0.3
90-
litellm==1.77.7 # Pinned to avoid bug in 1.75.3 requiring litellm[proxy]
9189
pyotp==2.9.0
9290
qrcode==8.2
91+
udspy==0.1.6

0 commit comments

Comments
 (0)