Render messages as early as possible to show progress (#11569)
This shows "Researching..." as placeholder text as early as possible so that the user can see the model is working on reading/researching/etc. This also adds on an `Option<Value>` to the `render_running` function so that tools can hopefully render based on partially completed JSON (still to come). Release Notes: - N/A
This commit is contained in:
parent
dbebb40956
commit
689e4aef2f
6 changed files with 46 additions and 15 deletions
|
@ -5,5 +5,6 @@ mod tool_registry;
|
|||
pub use attachment_registry::{AttachmentRegistry, LanguageModelAttachment, UserAttachment};
|
||||
pub use project_context::ProjectContext;
|
||||
pub use tool_registry::{
|
||||
LanguageModelTool, ToolFunctionCall, ToolFunctionDefinition, ToolOutput, ToolRegistry,
|
||||
tool_running_placeholder, LanguageModelTool, ToolFunctionCall, ToolFunctionDefinition,
|
||||
ToolOutput, ToolRegistry,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue