FEAT print config at the beginning (#88)

This commit is contained in:
Jose M Leon 2025-02-12 18:52:24 -05:00 committed by GitHub
parent 23dfc024e3
commit 9bd0edfd10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 6 deletions

View File

@ -304,21 +304,26 @@ def main():
sys.exit(1)
logger.debug(f"Using default temperature {args.temperature} for model {args.model}")
# Display status line
# Display status lines
status = Text()
# Model info
status.append("🤖 ")
status.append(f"{args.provider}/{args.model}")
if args.temperature is not None:
status.append(f" @ T{args.temperature}")
status.append("\n")
# Expert info
status.append("🤔 ")
if expert_enabled:
status.append(" | 🤔 ")
status.append(f"{args.expert_provider}/{args.expert_model}")
else:
status.append(" | 🤔 Expert: ")
status.append("Expert: ")
status.append("Disabled", style="italic")
status.append("\n")
status.append(" | 🔍 Search: ")
# Search info
status.append("🔍 Search: ")
status.append("Enabled" if web_research_enabled else "Disabled",
style=None if web_research_enabled else "italic")