update new session dialog
This commit is contained in:
parent
23a2de8fac
commit
6d21f142af
|
|
@ -106,7 +106,7 @@ export function App() {
|
|||
}, [selectedId])
|
||||
|
||||
const handleCreate = useCallback(async (params: {
|
||||
cwd: string; backend: string; model: string; agent: string
|
||||
name?: string; cwd: string; backend: string; model: string; agent: string
|
||||
}) => {
|
||||
await createSession(params)
|
||||
setShowNew(false)
|
||||
|
|
|
|||
|
|
@ -700,6 +700,8 @@ details[open] > .tool-header::before {
|
|||
border-radius: var(--r-xl);
|
||||
padding: 28px;
|
||||
width: min(460px, 100%);
|
||||
max-height: 85vh;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 22px;
|
||||
|
|
@ -771,6 +773,13 @@ details[open] > .tool-header::before {
|
|||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.advanced-section summary {
|
||||
cursor: pointer;
|
||||
color: var(--text-dim);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.advanced-section summary:hover { color: var(--text); }
|
||||
|
||||
/* ---- Acme theme overrides ---- */
|
||||
[data-theme="acme"] .message-list {
|
||||
padding: 8px 16px 8px;
|
||||
|
|
|
|||
Reference in New Issue