fix(tui): handle images with codex app-server
This commit is contained in:
@@ -3350,6 +3350,8 @@ def _run_prompt_submit(rid, sid: str, session: dict, text: Any) -> None:
|
||||
_read_main_model(),
|
||||
_cfg,
|
||||
)
|
||||
if getattr(agent, "api_mode", "") == "codex_app_server":
|
||||
_mode = "text"
|
||||
except Exception as _img_exc:
|
||||
print(
|
||||
f"[tui_gateway] image_routing decision failed, defaulting to text: {_img_exc}",
|
||||
|
||||
Reference in New Issue
Block a user