Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.26.4 #1937

Merged
merged 41 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
b5760d6
populate file extensions for ocw (#1891)
abeglova Dec 11, 2024
25f4c24
add nprogress loading bar (#1897)
ChristopherChudzicki Dec 12, 2024
3051448
Filter params for vector search (#1889)
shanbady Dec 12, 2024
c7b87d4
fix storybook (#1899)
gumaerc Dec 12, 2024
6a1b436
add bordered button variant (#1900)
gumaerc Dec 12, 2024
84f98bc
App env vars for use with local vault agent (#1868)
shaidar Dec 13, 2024
ff4e3d0
Fix shellcheck issue
shaidar Dec 13, 2024
972e1d9
drawer v2 - share resource (#1893)
gumaerc Dec 13, 2024
a784733
Update dependency ruff to v0.8.3 (#1903)
renovate[bot] Dec 14, 2024
78f745f
remove the opensearch based carousel from the drawer and rename the v…
gumaerc Dec 16, 2024
302bf6c
Contentfile chunk embeddings (#1905)
shanbady Dec 16, 2024
93b5060
Reduce the initial JS size (#1901)
jonkafton Dec 17, 2024
8a28a4b
restore main tag in root layout (#1909)
ChristopherChudzicki Dec 18, 2024
9e47922
Merge branch 'release'
odlbot Dec 18, 2024
4b543e4
fix v2 drawer scrolling issues (#1908)
gumaerc Dec 18, 2024
51bdf22
add topics carousels to v2 drawer (#1912)
gumaerc Dec 19, 2024
e57d5b2
Update version of react used in tests to same as production (#1917)
ChristopherChudzicki Dec 19, 2024
aae5a28
Update dependency @testing-library/react to v16.1.0 (#1884)
renovate[bot] Dec 19, 2024
0a951b5
feat(generate_env.py): add script to generate .env file using hvac an…
blarghmatey Dec 2, 2024
cbad97b
config: Ignore env, venv, and kompose directories in Docker images
blarghmatey Dec 19, 2024
b37acc1
adding new management command for creating collections and fixing ini…
shanbady Dec 19, 2024
ae32445
adding extra settings to allow us to use ollama locally (#1915)
shanbady Dec 19, 2024
35dcfcd
Demo Course Recommendation Chatbot (not production-ready, for RC only…
mbertrand Dec 20, 2024
90bdbba
Fix certification parameter, update prompts, catch json parsing error…
mbertrand Dec 20, 2024
f91ac07
Gives LR Drawer role "dialog" and a name. (#1914)
ChristopherChudzicki Dec 20, 2024
6dd26b5
Content File Vector Search Endpoint (#1907)
shanbady Dec 20, 2024
5b85073
Track chatbot activity in posthog (#1923)
mbertrand Dec 20, 2024
4fe5894
chore(deps): update codecov/codecov-action action to v5.1.2 (#1925)
renovate[bot] Dec 21, 2024
b188da7
fix(deps): update dependency litellm to v1.55.8 (#1926)
renovate[bot] Dec 21, 2024
45cba92
fix(deps): update dependency ruff to v0.8.4 (#1927)
renovate[bot] Dec 21, 2024
7ce4156
fix(deps): update dependency litellm to v1.55.9 (#1929)
renovate[bot] Dec 21, 2024
7a71e85
fix(deps): update dependency onnxruntime to v1.20.1 (#1928)
renovate[bot] Dec 21, 2024
006e965
remove unncessary wrapper (#1916)
ChristopherChudzicki Jan 2, 2025
9ce4e49
chore(deps): update dependency stylelint to v16 (#1931)
renovate[bot] Jan 2, 2025
b07587d
chore(deps): update yarn to v4.6.0 (#1933)
renovate[bot] Jan 2, 2025
7ff0b29
Shanbady/qdrant docs (#1932)
shanbady Jan 2, 2025
5430900
Duration and time commitment (#1650)
mbertrand Jan 2, 2025
f832053
Remove latest change to uwsgi.ini (#1934)
mbertrand Jan 2, 2025
36ebf4f
Duration and/or commitment for Sloan and Professional Education (#1906)
mbertrand Jan 2, 2025
cc0be65
Import AI agent within view post code (#1936)
mbertrand Jan 2, 2025
c147f0b
Release 0.26.4
odlbot Jan 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"dockerComposeFile": "../docker-compose.codespaces.yml",
"service": "web",
"containerEnv": {
"OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
"AI_PROXY_AUTH_TOKEN": "${localEnv:AI_PROXY_AUTH_TOKEN}",
"POSTHOG_PROJECT_ID": "${localEnv:POSTHOG_PROJECT_ID}",
"POSTHOG_PROJECT_API_KEY": "${localEnv:POSTHOG_PROJECT_API_KEY}",
"POSTHOG_PERSONAL_API_KEY": "${localEnv:POSTHOG_PERSONAL_API_KEY}"
},
"runServices": [
"watch",
"web",
Expand All @@ -10,6 +17,7 @@
"celery",
"nginx",
"redis",
"litellm",
"qdrant"
],
"hostRequirements": { "cpus": 4, "memory": "8gb" },
Expand All @@ -21,9 +29,10 @@
"OLL_API_CLIENT_SECRET": {},
"OLL_API_CLIENT_ID": {},
"SEE_API_CLIENT_ID": {},
"SEE_API_CLIENT_SECRET": {}
"SEE_API_CLIENT_SECRET": {},
"OPENAI_API_KEY": {}
},
"features": {},
"postStartCommand": "while [ \"$(python manage.py showmigrations | grep \"\\[ \\]\" | wc -l)\" -ne \"0\" ]; do echo \"waiting for migrations\"; sleep 2; done && python manage.py update_offered_by && python manage.py update_platforms && python manage.py update_departments_schools && python manage.py update_course_number_departments && python manage.py backpopulate_mitxonline_data && python manage.py backpopulate_micromasters_data && python manage.py backpopulate_resource_channels --overwrite --all && python manage.py recreate_index --all",
"forwardPorts": [8062, 8063, 6333]
"forwardPorts": [4000, 6333, 8062, 8063]
}
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ htmlcov
.coverage
node_modules
staticfiles/
env/
.venv/
kompose/
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
MITOL_COOKIE_NAME: cookie_monster

- name: Upload coverage to CodeCov
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
with:
file: ./coverage.xml

Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
NODE_ENV: test

- name: Upload coverage to CodeCov
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
with:
file: coverage/lcov.info

Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:

- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: "^20"
node-version: "^22"
cache: yarn
cache-dependency-path: yarn.lock

Expand Down
574 changes: 287 additions & 287 deletions .yarn/releases/yarn-4.5.3.cjs → .yarn/releases/yarn-4.6.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.5.3.cjs
yarnPath: .yarn/releases/yarn-4.6.0.cjs

# https://github.com/vitejs/vite-plugin-react-swc/issues/74#issuecomment-1520484130
# https://github.com/swc-project/swc/issues/5616#issuecomment-1265639797
Expand Down
18 changes: 18 additions & 0 deletions Dockerfile-litellm
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Use the provided base image
FROM ghcr.io/berriai/litellm:main-latest

# Set the working directory to /app
WORKDIR /app


# Make sure your docker/entrypoint.sh is executable
RUN chmod +x ./docker/entrypoint.sh

# Expose the necessary port
EXPOSE 4000/tcp

# Override the CMD instruction with your desired command and arguments
# WARNING: FOR PROD DO NOT USE `--detailed_debug` it slows down response times, instead use the following CMD
# CMD ["--port", "4000", "--config", "config.yaml"]

CMD ["--port", "4000", "--config", "litellm_config.yml"]
43 changes: 43 additions & 0 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,49 @@
Release Notes
=============

Version 0.26.4
--------------

- Import AI agent within view post code (#1936)
- Duration and/or commitment for Sloan and Professional Education (#1906)
- Remove latest change to uwsgi.ini (#1934)
- Duration and time commitment (#1650)
- Shanbady/qdrant docs (#1932)
- chore(deps): update yarn to v4.6.0 (#1933)
- chore(deps): update dependency stylelint to v16 (#1931)
- remove unncessary wrapper (#1916)
- fix(deps): update dependency onnxruntime to v1.20.1 (#1928)
- fix(deps): update dependency litellm to v1.55.9 (#1929)
- fix(deps): update dependency ruff to v0.8.4 (#1927)
- fix(deps): update dependency litellm to v1.55.8 (#1926)
- chore(deps): update codecov/codecov-action action to v5.1.2 (#1925)
- Track chatbot activity in posthog (#1923)
- Content File Vector Search Endpoint (#1907)
- Gives LR Drawer role "dialog" and a name. (#1914)
- Fix certification parameter, update prompts, catch json parsing error… (#1921)
- Demo Course Recommendation Chatbot (not production-ready, for RC only) (#1918)
- adding extra settings to allow us to use ollama locally (#1915)
- adding new management command for creating collections and fixing init script (#1911)
- config: Ignore env, venv, and kompose directories in Docker images
- feat(generate_env.py): add script to generate .env file using hvac and OIDC authentication
- Update dependency @testing-library/react to v16.1.0 (#1884)
- Update version of react used in tests to same as production (#1917)
- add topics carousels to v2 drawer (#1912)
- fix v2 drawer scrolling issues (#1908)
- restore main tag in root layout (#1909)
- Reduce the initial JS size (#1901)
- Contentfile chunk embeddings (#1905)
- remove the opensearch based carousel from the drawer and rename the vector based one as the default (#1902)
- Update dependency ruff to v0.8.3 (#1903)
- drawer v2 - share resource (#1893)
- Fix shellcheck issue
- App env vars for use with local vault agent (#1868)
- add bordered button variant (#1900)
- fix storybook (#1899)
- Filter params for vector search (#1889)
- add nprogress loading bar (#1897)
- populate file extensions for ocw (#1891)

Version 0.26.3 (Released December 18, 2024)
--------------

Expand Down
Empty file added ai_chat/__init__.py
Empty file.
Loading
Loading