Skip to content

fix: prompt rendering #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/goose/cli/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def single_pass(self, initial_message: str) -> None:
initial_message (str): The initial user message to process.
"""
profile = self.profile_name or "default"
print(f"[dim]starting session | name:[cyan]{self.name}[/] profile:[cyan]{profile}[/]")
print(f"[dim]starting session | name: [cyan]{self.name}[/] profile: [cyan]{profile}[/]")
print(f"[dim]saving to {self.session_file_path}")

# Process initial message
Expand All @@ -157,7 +157,7 @@ def single_pass(self, initial_message: str) -> None:
self.exchange.add(message)
self.reply() # Process the user message

print(f"[dim]ended run | name:[cyan]{self.name}[/] profile:[cyan]{profile}[/]")
print(f"[dim]ended run | name: [cyan]{self.name}[/] profile: [cyan]{profile}[/]")
print(f"[dim]to resume: [magenta]goose session resume {self.name} --profile {profile}[/][/]")

def run(self, new_session: bool = True) -> None:
Expand Down