MCPcopy Create free account
hub / github.com/IBM/mcp-cli / _enter_chat_mode

Function _enter_chat_mode

src/mcp_cli/run_command.py:257–270  ·  view source on GitHub ↗

Kick off the full-screen chat UI (banner printed by the handler).

(
    tool_manager,
    *,
    provider: str,
    model: str,
)

Source from the content-addressed store, hash-verified

255# specialised helpers (chat / interactive) #
256# --------------------------------------------------------------------------- #
257async def _enter_chat_mode(
258 tool_manager,
259 *,
260 provider: str,
261 model: str,
262) -> bool:
263 """Kick off the full-screen chat UI (banner printed by the handler)."""
264 from mcp_cli.chat.chat_handler import handle_chat_mode
265
266 return await handle_chat_mode(
267 tool_manager,
268 provider=provider,
269 model=model,
270 )
271
272
273async def _enter_interactive_mode(

Callers 2

_innerFunction · 0.85

Calls 1

handle_chat_modeFunction · 0.90

Tested by 1