Possible to disable random thinking messages (#3304)

Co-authored-by: angiejones <jones.angie@gmail.com>
This commit is contained in:
Martin Vilcans
2025-07-27 09:41:34 +02:00
committed by GitHub
parent a66a48145f
commit 06a98e625e
2 changed files with 15 additions and 4 deletions
+11 -4
View File
@@ -95,10 +95,17 @@ pub struct ThinkingIndicator {
impl ThinkingIndicator {
pub fn show(&mut self) {
let spinner = cliclack::spinner();
spinner.start(format!(
"{}...",
super::thinking::get_random_thinking_message()
));
if Config::global()
.get_param("RANDOM_THINKING_MESSAGES")
.unwrap_or(true)
{
spinner.start(format!(
"{}...",
super::thinking::get_random_thinking_message()
));
} else {
spinner.start("Thinking...");
}
self.spinner = Some(spinner);
}
@@ -110,6 +110,7 @@ These variables control how Goose manages conversation sessions and context.
| `GOOSE_CLI_THEME` | [Theme](/docs/guides/goose-cli-commands#themes) for CLI response markdown | "light", "dark", "ansi" | "dark" |
| `GOOSE_SCHEDULER_TYPE` | Controls which scheduler Goose uses for [scheduled recipes](/docs/guides/recipes/session-recipes.md#schedule-recipe) | "legacy" or "temporal" | "legacy" (Goose's built-in cron scheduler) |
| `GOOSE_TEMPORAL_BIN` | Optional custom path to your Temporal binary | /path/to/temporal-service | None |
| `GOOSE_RANDOM_THINKING_MESSAGES` | Controls whether to show amusing random messages during processing | "true", "false" | "true" |
**Examples**
@@ -137,6 +138,9 @@ export GOOSE_SCHEDULER_TYPE=temporal
# Custom Temporal binary (optional)
export GOOSE_TEMPORAL_BIN=/path/to/temporal-service
# Disable random thinking messages for less distraction
export GOOSE_RANDOM_THINKING_MESSAGES=false
```
### Model Context Limit Overrides