File tree Expand file tree Collapse file tree 3 files changed +53
-8
lines changed
routes/page/agent/[agentId] Expand file tree Collapse file tree 3 files changed +53
-8
lines changed Original file line number Diff line number Diff line change 5858 }
5959 }
6060 }
61-
61+
6262 .list-add {
6363 font-size : 20px ;
6464
9494 @media (max-width : 423px ) {
9595 height : fit-content ;
9696 }
97-
97+
9898 .agent-prompt-container {
9999 height : 100% ;
100-
100+
101101 .agent-prompt-header {
102102 background-color : white ;
103103 padding : 15px ;
167167 box-shadow : none !important ;
168168 }
169169 }
170-
170+
171171 .utility-wrapper {
172172 border : 1px dotted var (--bs-primary );
173173 border-radius : 5px ;
291291 overflow-x : auto ;
292292 scrollbar-width : thin ;
293293 }
294- }
294+ }
295+
296+ // Responsive adjustments for utility
297+ @media (max-width : 768px ) {
298+ .agent-utility-container {
299+ padding : 0 5px ;
300+
301+ .utility-wrapper {
302+ .utility-row-primary {
303+ flex-direction : column ;
304+ }
305+
306+ .utility-row {
307+ .utility-label ,
308+ .utility-value {
309+ width : 100% ;
310+ }
311+
312+ .utility-value {
313+ flex-direction : column ;
314+ }
315+
316+ .utility-input ,
317+ .utility-delete {
318+ width : 100% ;
319+ }
320+
321+ .utility-delete {
322+ display : flex ;
323+ justify-content : flex-end ;
324+ align-items : end ;
325+ margin-top : 6px ;
326+ }
327+ }
328+
329+ .utility-row-secondary {
330+ .utility-content {
331+ .utility-list-item {
332+ flex-direction : column ;
333+ gap : 6px ;
334+ }
335+ }
336+ }
337+ }
338+ }
339+ }
Original file line number Diff line number Diff line change 332332 title= " Compile code script"
333333 >
334334 < i
335- class = " mdi mdi-file- code"
335+ class = " mdi mdi-code-braces-box "
336336 role= " link"
337337 tabindex= " 0"
338338 on: keydown= {() => {}}
Original file line number Diff line number Diff line change 5050 let selectedTab;
5151
5252 /** @type {any[]} */
53- let tabs = [
53+ const tabs = [
5454 { name: ' agent-llm-config' , displayText: ' LLm Configs' },
5555 { name: ' agent-routing-rule' , displayText: ' Routing' },
5656 { name: ' agent-utility' , displayText: ' Utilities' },
6060 ];
6161
6262 onMount (() => {
63- selectedTab = tabs[4 ]? .name ;
63+ selectedTab = tabs[0 ]? .name ;
6464 });
6565
6666 /** @param {string} selected */
You can’t perform that action at this time.
0 commit comments