File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const DEFAULT_SETTINGS = {
2020 perplexity : "sonar" ,
2121 openai : "gpt-4o-mini" ,
2222 anthropic : "claude-sonnet-4-6" ,
23- gemini : "gemini-2.0 -flash" ,
23+ gemini : "gemini-2.5 -flash" ,
2424 lmstudio : "" ,
2525 } ,
2626 temperature : 0.7 ,
Original file line number Diff line number Diff line change @@ -769,4 +769,84 @@ details.setting-group .advanced-content {
769769 gap : 8px ;
770770 padding-bottom : 4px ;
771771}
772+
773+ /* ---- Model Check Results ---- */
774+ .model-check-results {
775+ display : flex;
776+ flex-direction : column;
777+ gap : 6px ;
778+ margin-top : 10px ;
779+ }
780+
781+ .check-item {
782+ display : flex;
783+ align-items : center;
784+ gap : 8px ;
785+ font-size : 13px ;
786+ color : var (--color-text-secondary );
787+ }
788+
789+ .check-spinner {
790+ width : 14px ;
791+ height : 14px ;
792+ border : 2px solid var (--color-border );
793+ border-top-color : var (--color-accent );
794+ border-radius : 50% ;
795+ animation : spin 0.6s linear infinite;
796+ flex-shrink : 0 ;
797+ }
798+
799+ @keyframes spin {
800+ to { transform : rotate (360deg ); }
801+ }
802+
803+ .check-icon .ok {
804+ color : var (--color-success );
805+ flex-shrink : 0 ;
806+ }
807+
808+ .check-icon .fail {
809+ color : var (--color-danger );
810+ flex-shrink : 0 ;
811+ }
812+
813+ .check-hint {
814+ font-size : 12px ;
815+ color : var (--color-text-tertiary );
816+ }
817+
818+ /* ---- Custom Model Tags ---- */
819+ .custom-model-list {
820+ display : flex;
821+ flex-wrap : wrap;
822+ gap : 6px ;
823+ margin-top : 8px ;
824+ }
825+
826+ .custom-model-tag {
827+ display : inline-flex;
828+ align-items : center;
829+ gap : 5px ;
830+ padding : 3px 8px ;
831+ background : var (--color-accent-subtle );
832+ color : var (--color-accent );
833+ border-radius : var (--radius-full );
834+ font-size : 12px ;
835+ font-family : var (--font-mono );
836+ }
837+
838+ .custom-model-remove {
839+ background : none;
840+ border : none;
841+ cursor : pointer;
842+ color : var (--color-accent );
843+ padding : 0 ;
844+ display : flex;
845+ align-items : center;
846+ opacity : 0.7 ;
847+ }
848+
849+ .custom-model-remove : hover {
850+ opacity : 1 ;
851+ color : var (--color-danger );
772852}
Original file line number Diff line number Diff line change @@ -310,6 +310,37 @@ <h2>Modell-Einstellungen</h2>
310310 < select id ="model-select " class ="input "> </ select >
311311 </ div >
312312
313+ < div class ="setting-group ">
314+ < button id ="btn-check-models " class ="btn btn-secondary ">
315+ < svg width ="14 " height ="14 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
316+ < path d ="M22 11.08V12a10 10 0 1 1-5.93-9.14 "/>
317+ < polyline points ="22 4 12 14.01 9 11.01 "/>
318+ </ svg >
319+ Modelle prüfen
320+ </ button >
321+ < div id ="model-check-results " class ="model-check-results "> </ div >
322+ </ div >
323+
324+ < div class ="setting-group ">
325+ < label class ="setting-label "> Modell manuell hinzufügen</ label >
326+ < div class ="input-with-action ">
327+ < input
328+ type ="text "
329+ id ="custom-model-input "
330+ class ="input "
331+ placeholder ="z.B. gpt-5, gemini-3.1-flash "
332+ autocomplete ="off "
333+ spellcheck ="false "
334+ />
335+ < button id ="btn-add-model " class ="btn btn-primary " title ="Hinzufügen ">
336+ < svg width ="14 " height ="14 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 ">
337+ < line x1 ="12 " y1 ="5 " x2 ="12 " y2 ="19 "/> < line x1 ="5 " y1 ="12 " x2 ="19 " y2 ="12 "/>
338+ </ svg >
339+ </ button >
340+ </ div >
341+ < div id ="custom-model-list " class ="custom-model-list "> </ div >
342+ </ div >
343+
313344 < div class ="setting-group hidden " id ="lmstudio-model-group ">
314345 < label class ="setting-label "> Modell</ label >
315346 < div class ="input-with-action ">
You can’t perform that action at this time.
0 commit comments