More slash commands (#5858)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -31,7 +31,7 @@ use anyhow::{Context, Result};
|
||||
use completion::GooseCompleter;
|
||||
use goose::agents::extension::{Envs, ExtensionConfig, PLATFORM_EXTENSIONS};
|
||||
use goose::agents::types::RetryConfig;
|
||||
use goose::agents::{Agent, SessionConfig, MANUAL_COMPACT_TRIGGERS};
|
||||
use goose::agents::{Agent, SessionConfig, COMPACT_TRIGGERS};
|
||||
use goose::config::{Config, GooseMode};
|
||||
use goose::providers::pricing::initialize_pricing_cache;
|
||||
use goose::session::SessionManager;
|
||||
@@ -704,7 +704,7 @@ impl CliSession {
|
||||
};
|
||||
|
||||
if should_summarize {
|
||||
self.push_message(Message::user().with_text(MANUAL_COMPACT_TRIGGERS[0]));
|
||||
self.push_message(Message::user().with_text(COMPACT_TRIGGERS[0]));
|
||||
output::show_thinking();
|
||||
self.process_agent_response(true, CancellationToken::default())
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user