* **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.
disable pro modal
Thomas G. Lopes
73b132d
New input layout (#92)
Thomas G. Lopes+1: victor
Unverified signature
a88830a
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
null checks
Thomas G. Lopes
f9963a5
mark messages as potentially undefined
Thomas G. Lopes
f9620c9
fix reset; add some tests (#90)
Thomas G. Lopes
Unverified signature
893b0be
add tests (#88)
Thomas G. Lopes
Unverified signature
a76eef5
move utils file
Thomas G. Lopes
15094ac
update hf libs & update code snippets (#87)
Thomas G. Lopes
Unverified signature
58843c4
Adjustments (#86)
Thomas G. Lopes
Unverified signature
d7cd63b
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
Enhancements (#79)
Thomas G. Lopes+1: victor
Unverified signature
f36471e
- Improve checkpoints menu UX
- Allow running conversations individually
- Hide model page if its a custom model
- Regen buttons on messages
---------
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
ask before moving checkpoints
Thomas G. Lopes
84f775e
fix model picker bug
Thomas G. Lopes
0bd4051
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>
fix tokens (#75)
Thomas G. Lopes+1: victor
Unverified signature
c670717
Co-authored-by: Victor Muštar (aider) <victor.mustar@gmail.com>
Checkpoints (#73)
Thomas G. Lopes+1: victor
Unverified signature
7450ebd
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>