MCPcopy Create free account
hub / github.com/OpenOSINT/OpenOSINT / _print_banner

Function _print_banner

openosint/repl.py:79–98  ·  view source on GitHub ↗
(provider: str, model: str)

Source from the content-addressed store, hash-verified

77
78
79def _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
101def _print_help() -> None:

Callers 1

runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected