You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* SimpleChat: Allow for chat req bool options to be user controlled
* SimpleChat: Allow user to control cache_prompt flag in request
* SimpleChat: Add sample GUI images to readme file
Show the chat screen and the settings screen
* SimpleChat:Readme: Add quickstart block, title to image, cleanup
* SimpleChat: RePosition contents of the Info and Settings UI
Make it more logically structured and flow through.
* SimpleChat: Rename to apiRequestOptions from chatRequestOptions
So that it is not wrongly assumed that these request options are
used only for chat/completions endpoint. Rather these are used
for both the end points, so rename to match semantic better.
* SimpleChat: Update image included with readme wrt settings ui
* SimpleChat:ReadMe: Switch to webp screen image to reduce size
bb=ui.el_creatediv_boolbutton("SetCompletionFreshChatAlways","CompletionFreshChatAlways",{true: "[+] yes fresh",false: "[-] no, with history"},this.bCompletionFreshChatAlways,(val)=>{
874
-
this.bCompletionFreshChatAlways=val;
878
+
bb=ui.el_creatediv_boolbutton("SetTrimGarbage","TrimGarbage",{true: "[+] yes trim",false: "[-] dont trim"},this.bTrimGarbage,(val)=>{
879
+
this.bTrimGarbage=val;
875
880
});
876
881
elDiv.appendChild(bb.div);
877
882
878
-
bb=ui.el_creatediv_boolbutton("SetCompletionInsertStandardRolePrefix","CompletionInsertStandardRolePrefix",{true: "[+] yes insert",false: "[-] dont insert"},this.bCompletionInsertStandardRolePrefix,(val)=>{
879
-
this.bCompletionInsertStandardRolePrefix=val;
880
-
});
881
-
elDiv.appendChild(bb.div);
883
+
this.show_settings_apirequestoptions(elDiv);
882
884
883
-
bb=ui.el_creatediv_boolbutton("SetTrimGarbage","TrimGarbage",{true: "[+] yes trim",false: "[-] dont trim"},this.bTrimGarbage,(val)=>{
bb=ui.el_creatediv_boolbutton("SetCompletionFreshChatAlways","CompletionFreshChatAlways",{true: "[+] yes fresh",false: "[-] no, with history"},this.bCompletionFreshChatAlways,(val)=>{
896
+
this.bCompletionFreshChatAlways=val;
895
897
});
896
-
elDiv.appendChild(sel.div);
898
+
elDiv.appendChild(bb.div);
897
899
898
-
this.show_settings_chatrequestoptions(elDiv);
900
+
bb=ui.el_creatediv_boolbutton("SetCompletionInsertStandardRolePrefix","CompletionInsertStandardRolePrefix",{true: "[+] yes insert",false: "[-] dont insert"},this.bCompletionInsertStandardRolePrefix,(val)=>{
0 commit comments