Skip to content

Commit 5866ef9

Browse files
committed
fix(cohort-builder): clean backend integration baseline
1 parent 3144704 commit 5866ef9

4 files changed

Lines changed: 3 additions & 7 deletions

File tree

plugins/functions/code-suggestion/deno.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
},
1212
"imports": {
1313
"zod": "npm:zod@^3.23.8",
14-
"uuid": "npm:uuid@^9.0.0",
1514
"express": "npm:express@^4.19.2",
1615
"express-validator": "npm:express-validator@^7.2.0",
1716
"axios": "npm:axios@^1.7.7",
@@ -56,4 +55,4 @@
5655
"process": "node:process",
5756
"assert": "node:assert"
5857
}
59-
}
58+
}

plugins/functions/code-suggestion/src/code-suggestion/routes.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ export class CodeSuggestionRouter {
4949
res.setHeader("Content-Type", "text/event-stream");
5050
res.setHeader("Cache-Control", "no-cache");
5151
res.setHeader("Connection", "keep-alive");
52-
// req.body.model = AI_MODEL;
53-
// req.body.model = "ollama:lfm2.5";
54-
req.body.model = "anthropic:claude-sonnet-4-5";
52+
req.body.model = AI_MODEL;
5553

5654
// Stream the response chunks to the client as they are received.
5755
// NOTE: This logic depends on the Langchain Agent streaming format

plugins/functions/mcp-server/deno.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"./src/api/WebAPIAPI": "./src/api/WebAPIAPI.ts",
2121
"./src/api/TerminologyAPI": "./src/api/TerminologyAPI.ts",
2222
"./src/api/VocabularyAPI": "./src/api/VocabularyAPI.ts",
23-
"./src/tools/concept-search.tools": "./src/tools/concept-search.tools.ts",
2423
"./src/tools/cohort-management.tools": "./src/tools/cohort-management.tools.ts",
2524
"./src/tools/cohort-instruction.tools": "./src/tools/cohort-instruction.tools.ts",
2625
"./src/tools/cohort-validation.tools": "./src/tools/cohort-validation.tools.ts",

plugins/functions/mcp-server/src/api/TerminologyAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class TerminologyAPI extends BaseAPI {
3232
(bodyMessage && /already exists|duplicate|unique/i.test(bodyMessage)))
3333
) {
3434
throw new Error(
35-
`A concept set named '${nameHint}' already exists in this dataset. Use update_concept_set or pick a different name.`,
35+
`A concept set named '${nameHint}' already exists in this dataset. Pick a different name.`,
3636
);
3737
}
3838
if (status === 404) {

0 commit comments

Comments
 (0)