| 77 | |
| 78 | |
| 79 | def _print_banner(provider: str, model: str) -> None: |
| 80 | if provider == "ollama": |
| 81 | provider_info = f"[dim]Provider: Ollama ({model})[/]" |
| 82 | else: |
| 83 | provider_info = f"[dim]Provider: Anthropic ({model})[/]" |
| 84 | |
| 85 | console.print() |
| 86 | console.print( |
| 87 | Panel.fit( |
| 88 | f"[bold #00ff88]OpenOSINT[/] [dim]v2.8.0[/] [dim]·[/] {provider_info}", |
| 89 | border_style="#1e293b", |
| 90 | padding=(0, 2), |
| 91 | ) |
| 92 | ) |
| 93 | console.print( |
| 94 | " Type a target or question. [dim]'help'[/] for commands. [dim]'exit'[/] to quit.\n" |
| 95 | ) |
| 96 | Console(stderr=True).print( |
| 97 | "[yellow]⭐[/] [dim]If OpenOSINT is useful, star it → https://github.com/OpenOSINT/OpenOSINT[/]" |
| 98 | ) |
| 99 | |
| 100 | |
| 101 | def _print_help() -> None: |