File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -747,6 +747,7 @@ The candidate skills are as follows:\n\n`;
747747 client ,
748748 {
749749 model,
750+ temperature : 0.1 ,
750751 messages : [
751752 { role : "system" , content : systemPrompt } ,
752753 { role : "user" , content : userPrompt } ,
@@ -759,7 +760,7 @@ The candidate skills are as follows:\n\n`;
759760 enabled : debugLogEnabled ,
760761 location : "SessionManager.identifyMatchingSkillNames" ,
761762 baseURL,
762- params : { purpose : "skill-matching" } ,
763+ params : { purpose : "skill-matching" , temperature : 0.1 } ,
763764 }
764765 ) ;
765766 this . throwIfAborted ( options ?. signal ) ;
Original file line number Diff line number Diff line change @@ -2826,7 +2826,8 @@ test("SessionManager persists session and user message before skill matching is
28262826 const client = {
28272827 chat : {
28282828 completions : {
2829- create : async ( _request : Record < string , unknown > , options ?: { signal ?: AbortSignal } ) => {
2829+ create : async ( request : Record < string , unknown > , options ?: { signal ?: AbortSignal } ) => {
2830+ assert . equal ( request . temperature , 0.1 ) ;
28302831 return new Promise ( ( _resolve , reject ) => {
28312832 const signal = options ?. signal ;
28322833 signal ?. addEventListener ( "abort" , ( ) => reject ( new APIUserAbortError ( ) ) , { once : true } ) ;
You can’t perform that action at this time.
0 commit comments