File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ,
5655 "process" : " node:process" ,
5756 "assert" : " node:assert"
5857 }
59- }
58+ }
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export class TerminologyAPI extends BaseAPI {
3232 ( bodyMessage && / a l r e a d y e x i s t s | d u p l i c a t e | u n i q u e / 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 ) {
You can’t perform that action at this time.
0 commit comments