* **Styling:**
* The bottom action bar in
[`src/lib/components/inference-playground/playground.svelte`](src/lib/components/inference-playground/playground.svelte:122)
and its buttons were made more compact.
* **User Experience:**
* A welcome message is now displayed for new conversations in
[`src/lib/components/inference-playground/conversation.svelte`](src/lib/components/inference-playground/conversation.svelte:59).
* The validation preventing consecutive user messages was removed in
[`src/lib/components/inference-playground/message-textarea.svelte`](src/lib/components/inference-playground/message-textarea.svelte:24),
allowing for a more natural conversation flow.
* **State Management:**
* In
[`src/lib/state/conversations.svelte.ts`](src/lib/state/conversations.svelte.ts:81),
new conversations are now initialized with an empty message list, and so
when you send the first message it's not spawning a 2nd user message.
IndexedDb & Structured output (#82)
Thomas G. Lopes
Unverified signature
1778c9e
Migrates usage of local storage to IndexedDB.
Benefits:
- Higher storage allowance (5MiB vs unlimited?)
- Does not block main thread
- Data loss prevention on schema update with Dexie's handlers
I also abstracted the logic a bit and made things more predictable. This
enables, for example, independent conversation load states.
Also add Structured output, including a form mode!
https://github.com/user-attachments/assets/459846fe-d03c-41e0-907e-4cf7bad70b4e
Accurate max tokens (#77)
Thomas G. Lopes
Unverified signature
f415c95
ask before moving checkpoints
Thomas G. Lopes
84f775e
UX adjustments (#76)
Thomas G. Lopes+1: victor
Unverified signature
28faefd
- Fix bug where `new message` is not reachable
- Simplify conversation scroll wrapper logic, avoiding magic `height`
calculations
- Fix some mobile alignments
- Make it so model selector modal is visible even when virtual keyboard
is shown
- Align tokens and latency to conversation window
- Fixes issues where conversation comparisons were not being saved
---------
Co-authored-by: Victor Muštar (aider) <victor.mustar@gmail.com>
Custom endpoints (#72)
Thomas G. Lopes+1: victor
Unverified signature
97c4991
Co-authored-by: Victor Muštar (aider) <victor.mustar@gmail.com>
add copy project option
Thomas G. Lopes
cf47645
fix overflow
Thomas G. Lopes
b598d3d
create custom prompt api
Thomas G. Lopes
53e0cfa
always have default project
Thomas G. Lopes
aac02fe
minor animation
Thomas G. Lopes
a251d41
remove provider select transparent bg && add debug menu