fix: prompt rendering (#208)

This commit is contained in:
Lam Chau
2024-10-30 21:56:33 -07:00
committed by GitHub
parent aa324ce507
commit a43203a337
+2 -2
View File
@@ -149,7 +149,7 @@ class Session:
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
@@ -158,7 +158,7 @@ class Session:
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: