feat: Improved theme-derived syntax highlighting for LLM tool call logging
This commit is contained in:
+5
-1
@@ -210,7 +210,11 @@ async fn main() -> Result<()> {
|
||||
{
|
||||
let app = &*ctx.app.config;
|
||||
if app.highlight {
|
||||
set_global_render_config(prompt_theme(app.render_options()?)?)
|
||||
let render_opts = app.render_options()?;
|
||||
if let Some(ref theme) = render_opts.theme {
|
||||
utils::init_tool_colors(theme);
|
||||
}
|
||||
set_global_render_config(prompt_theme(render_opts)?)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user