-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support @ model from prompt input (#320)
* try mixing models and agents in autocomplete * loading model from at selection * wip maybe model selector not the same as invoked model * unify more chat entities and fix keyboard selection of entity * fix model button dsl with latest makepad syntax * address fragile todo * remove agent button tighly coupled properties * unify model button into agent button * remove ChatHandler and favor chatentityid * remove previously necessary steps to convert chat entity id to chat handler * remove unnecessary owned ChatEntity type * avoid unnecessary premature string allocations and cloning * tidy many details * remove ChatEntityRef::from_chain in favor of explicit sorting * move chat entity types to their own file * hide loader indicator for at model messages * take adventage of list items() to dedup handling of prompt input items * remove ChatEntityRef::from as enum variants can be mapped directly * allow set_agent directly in entity button * fix type name after rebase * Add autocomplete section headers + text updates - Added section labels for "Agents" and "Models" in the autocomplete list. - Updated the empty message to clarify search options. - Keyboard focus handling skips section headers. - Minor layout and padding adjustments --------- Co-authored-by: Julian Montes de Oca <[email protected]>
- Loading branch information
Showing
18 changed files
with
515 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.