feat: search sessions, attach files, read aloud, jump to latest
Reach the first-party mobile client's everyday features: - sessions: a search button opens a field; typing asks the server with its search parameter (350 ms settle) and clearing restores the list - composer: attach photos or files (up to five, 10 MB each) as data URLs with the prompt; attachments show as removable chips and are named under the sent message - turn menu: read the answer aloud with the system voice, or stop it - chat: a "latest" button appears after scrolling up and returns to the end of the conversation - reset a live search when a connection ends Bump version to 0.2.0 (build 14).
This commit is contained in:
1 parent
4c6fcf4cbe
commit
72119b73e8
11 files changed
+445
-56
No files matched your search
@@ -169,6 +169,13 @@ type ToolState struct {
|
||||
Error json.RawMessage `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
// PromptFile is a file riding with a prompt: a data URL or a URI the
|
||||
// server can read, and its name.
|
||||
type PromptFile struct {
|
||||
URI string `json:"uri"`
|
||||
Name string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
// FileAttachment is a file attached to a user prompt.
|
||||
type FileAttachment struct {
|
||||
URI string `json:"uri"`
|
||||
|
||||
Reference in new issue
Block a user