From ce70c54a2a8a2aa7cf1898868aa1ee0d16151c14 Mon Sep 17 00:00:00 2001 From: Jon Kafton <939376+jonkafton@users.noreply.github.com> Date: Thu, 6 Nov 2025 21:29:59 +0100 Subject: [PATCH 1/2] Upgrade Smoot to ^6.19.0 --- frontends/main/package.json | 2 +- yarn.lock | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/frontends/main/package.json b/frontends/main/package.json index cfc7859b40..bf2ccf6f3f 100644 --- a/frontends/main/package.json +++ b/frontends/main/package.json @@ -15,7 +15,7 @@ "@emotion/styled": "^11.11.0", "@mitodl/course-search-utils": "^3.5.0", "@mitodl/mitxonline-api-axios": "^2025.11.5", - "@mitodl/smoot-design": "^6.17.1", + "@mitodl/smoot-design": "^6.19.0", "@next/bundle-analyzer": "^14.2.15", "@react-pdf/renderer": "^4.3.0", "@remixicon/react": "^4.2.0", diff --git a/yarn.lock b/yarn.lock index 889357270f..f16c027dee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3215,9 +3215,9 @@ __metadata: languageName: node linkType: hard -"@mitodl/smoot-design@npm:^6.17.1": - version: 6.17.1 - resolution: "@mitodl/smoot-design@npm:6.17.1" +"@mitodl/smoot-design@npm:^6.19.0": + version: 6.19.0 + resolution: "@mitodl/smoot-design@npm:6.19.0" dependencies: "@ai-sdk/react": "npm:1.2.12" "@emotion/cache": "npm:^11.14.0" @@ -3232,7 +3232,7 @@ __metadata: remark-math: "npm:^6.0.0" remark-supersub: "npm:^1.0.0" tiny-invariant: "npm:^1.3.1" - zod: "npm:^3.23.8" + zod: "npm:^4.0.0" peerDependencies: "@emotion/react": ^11.11.1 "@emotion/styled": ^11.11.0 @@ -3242,7 +3242,7 @@ __metadata: "@remixicon/react": ^4.2.0 react: ^18 || ^19 react-dom: ^18 || ^19 - checksum: 10/b94bc5d0f89e706701e1e3a7dc2f9a31ba40aaa142ce4740de74b3d79e0ead8dc49aad325c607692a48ea086b9d2803967a9b8834897f0d387229a0b8d53d2ee + checksum: 10/d3255d5c76e732e368d566d6e3ad26302812e64acdf85a5fd5d0cf86501f1b640c4ff9cbe1974c519fff032b3173a0ace84eeed19b622e22578757eee7ec5679 languageName: node linkType: hard @@ -14067,7 +14067,7 @@ __metadata: "@faker-js/faker": "npm:^10.0.0" "@mitodl/course-search-utils": "npm:^3.5.0" "@mitodl/mitxonline-api-axios": "npm:^2025.11.5" - "@mitodl/smoot-design": "npm:^6.17.1" + "@mitodl/smoot-design": "npm:^6.19.0" "@next/bundle-analyzer": "npm:^14.2.15" "@react-pdf/renderer": "npm:^4.3.0" "@remixicon/react": "npm:^4.2.0" @@ -21025,10 +21025,10 @@ __metadata: languageName: node linkType: hard -"zod@npm:^3.23.8": - version: 3.24.2 - resolution: "zod@npm:3.24.2" - checksum: 10/604c62a8cf8e330d78b106a557f4b44f5d14845d20b1360a423ccc09b58cb8525ccf7e4b40cf1bd4852d22393d2c67774b5817ec5a2fedab25f543b36ed15943 +"zod@npm:^4.0.0": + version: 4.1.12 + resolution: "zod@npm:4.1.12" + checksum: 10/c5f04e6ac306515c4db6ef73cf7705f521c7a2107c8c8912416a0658d689f361db9bee829b0bf01ef4a22492f1065c5cbcdb523ce532606ac6792fd714f3c326 languageName: node linkType: hard From c4582dc4b4377d3232b9ace3d9a9950771b2d071 Mon Sep 17 00:00:00 2001 From: Jon Kafton <939376+jonkafton@users.noreply.github.com> Date: Wed, 12 Nov 2025 14:03:44 +0000 Subject: [PATCH 2/2] Update learn-ai endpoints --- env/frontend.env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/env/frontend.env b/env/frontend.env index 58ae74be6d..221c74cfdb 100644 --- a/env/frontend.env +++ b/env/frontend.env @@ -21,8 +21,8 @@ NEXT_PUBLIC_DEFAULT_SEARCH_STALENESS_PENALTY=2.5 NEXT_PUBLIC_DEFAULT_SEARCH_MINIMUM_SCORE_CUTOFF=0 NEXT_PUBLIC_DEFAULT_SEARCH_MAX_INCOMPLETENESS_PENALTY=90 -NEXT_PUBLIC_LEARN_AI_RECOMMENDATION_ENDPOINT=https://api-learn-ai-qa.ol.mit.edu/http/recommendation_agent/ -NEXT_PUBLIC_LEARN_AI_SYLLABUS_ENDPOINT=https://api-learn-ai-qa.ol.mit.edu/http/syllabus_agent/ +NEXT_PUBLIC_LEARN_AI_RECOMMENDATION_ENDPOINT=https://api.rc.learn.mit.edu/ai/http/recommendation_agent/ +NEXT_PUBLIC_LEARN_AI_SYLLABUS_ENDPOINT=https://api.rc.learn.mit.edu/ai/http/syllabus_agent/ NEXT_PUBLIC_MITX_ONLINE_BASE_URL=${MITX_ONLINE_BASE_URL} NEXT_PUBLIC_VERSION="local-dev"