Small changes

This commit is contained in:
2025-12-04 15:09:22 +01:00
parent 028d2911c3
commit 851554ea1e
2 changed files with 6 additions and 6 deletions

6
oai.py
View File

@@ -83,7 +83,7 @@ def clear_screen():
@app.command()
def chat():
"""Start the OAI chat app with OpenRouter models."""
"""Start the oAI chat app with OpenRouter models."""
global API_KEY, OPENROUTER_BASE_URL, STREAM_ENABLED # Allow updates via /config commands
if not API_KEY:
@@ -108,7 +108,7 @@ def chat():
selected_model = None
client = OpenRouter(api_key=API_KEY)
console.print("[bold blue]Welcome to OAI! Type your message, '/model [search]' to select/change model, '/config api/url/stream' to configure, '/help' for examples, or 'exit'/'quit' to end.[/]")
console.print("[bold blue]Welcome to oAI! Type your message, '/model [search]' to select/change model, '/config api/url/stream' to configure, '/help' for examples, or 'exit'/'quit' to end.[/]")
if not selected_model:
console.print("[bold yellow]No model selected. Use '/model' to choose one.[/]")
@@ -252,7 +252,7 @@ def chat():
"Quit the chat app with either 'exit', 'quit' or 'bye'",
"exit\n[bold yellow]Goodbye![/bold yellow]"
)
console.print(Panel(help_table, title="[bold cyan]OAI Chat Help - Command Examples[/]", title_align="center"))
console.print(Panel(help_table, title="[bold cyan]oAI Chat Help - Command Examples[/]", title_align="center"))
continue
if not selected_model: