ZIm/crates/assistant/src
Max Brunsfeld 4c390b82fb
Make LanguageModel::use_any_tool return a stream of chunks (#16262)
This PR is a refactor to pave the way for allowing the user to view and
edit workflow step resolutions. I've made tool calls work more like
normal streaming completions for all providers. The `use_any_tool`
method returns a stream of strings (which contain chunks of JSON). I've
also done some minor cleanup of language model providers in general,
removing the duplication around handling streaming responses.

Release Notes:

- N/A
2024-08-14 18:02:46 -07:00
..
slash_command Disable forceful sorting of the slash command argument completions (#16240) 2024-08-14 22:34:25 +03:00
assistant.rs assistant: Improve terminal slash command (#16229) 2024-08-14 18:04:36 +02:00
assistant_panel.rs assistant: Show errors without mouse interaction (#16226) 2024-08-14 17:18:39 +02:00
assistant_settings.rs Allow customization of the model used for tool calling (#15479) 2024-07-30 16:18:53 +02:00
context.rs Make LanguageModel::use_any_tool return a stream of chunks (#16262) 2024-08-14 18:02:46 -07:00
context_inspector.rs context inspector: Log when no suggestions (#16208) 2024-08-14 14:58:32 +02:00
context_store.rs Allow /workflow and step resolution prompts to be overridden (#15892) 2024-08-06 21:47:42 -06:00
inline_assistant.rs Make LanguageModel::use_any_tool return a stream of chunks (#16262) 2024-08-14 18:02:46 -07:00
model_selector.rs Update provider logos (#16115) 2024-08-12 09:55:00 -04:00
prompt_library.rs Copy/paste images into editors (Mac only) (#15782) 2024-08-13 13:18:25 -04:00
prompts.rs Rely on model to determine indentation level and always rewrite the full line (#16145) 2024-08-12 22:41:24 -06:00
slash_command.rs Disable forceful sorting of the slash command argument completions (#16240) 2024-08-14 22:34:25 +03:00
slash_command_settings.rs assistant: Put /docs and /project behind a setting (#16186) 2024-08-13 17:32:24 -04:00
streaming_diff.rs Improve streaming git diffs to be less jumpy during inline assistant generation (#15853) 2024-08-06 16:13:29 +03:00
terminal_inline_assistant.rs Copy/paste images into editors (Mac only) (#15782) 2024-08-13 13:18:25 -04:00
using-the-assistant.md assistant: Add a Configuration page (#15490) 2024-08-01 15:54:47 +02:00