File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 11import { createReactAgent } from "@langchain/langgraph/prebuilt" ;
2- import alert from "dialogs/alert" ;
32import { ChatOpenAI } from "@langchain/openai" ;
3+ import alert from "dialogs/alert" ;
44import confirm from "dialogs/confirm" ;
55import select from "dialogs/select" ;
66import Ref from "html-tag-js/ref" ;
77import EditorFile from "lib/editorFile" ;
8- import { createSessionManager } from "./agent/sessionManager " ;
8+ import settings from "lib/settings " ;
99import styles from "./assistant.m.scss" ;
10+ import { createSessionManager } from "./agent/sessionManager" ;
1011import { CordovaSqliteSaver } from "./memory" ;
1112import { createChatStore } from "./state/chatStore" ;
1213import { SYSTEM_PROMPT } from "./system_prompt" ;
@@ -54,7 +55,7 @@ export default function openAIAssistantPage() {
5455 apiKey : settings . value . aiApiKey ,
5556 streaming : true ,
5657 configuration : {
57- baseURL : settings . values . aiBaseUrl ,
58+ baseURL : settings . value . aiBaseUrl ,
5859 } ,
5960 } ) ;
6061
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ export default function aiassistantSettings() {
2020 info : "Enter your AI model here." ,
2121 } ,
2222 {
23- key : "aiBaseUrl" ,
24- text : "API Base URL" ,
25- value : values . aiBaseUrl ,
26- prompt : "API Base URL" ,
27- info : "Enter base url of your api here." ,
28- }
23+ key : "aiBaseUrl" ,
24+ text : "API Base URL" ,
25+ value : values . aiBaseUrl ,
26+ prompt : "API Base URL" ,
27+ info : "Enter base url of your api here." ,
28+ } ,
2929 ] ;
3030
3131 return settingsPage ( title , items , callback ) ;
You can’t perform that action at this time.
0 commit comments