From c609d6fa83eadb2bfe5f939baed915245fd192e6 Mon Sep 17 00:00:00 2001 From: GuDaStudio Date: Thu, 13 Nov 2025 18:17:44 +0800 Subject: [PATCH] =?UTF-8?q?v0.6.2=EF=BC=9A=E7=B4=A7=E6=80=A5=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/codexmcp/server.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/codexmcp/server.py b/src/codexmcp/server.py index dc3a722..cb79b47 100644 --- a/src/codexmcp/server.py +++ b/src/codexmcp/server.py @@ -149,12 +149,12 @@ async def codex( bool, "Return all messages (e.g. reasoning, tool calls, etc.) from the codex session. Set to `False` by default, only the agent's final reply message is returned.", ] = False, - image: Annotated[ - Optional[List[Path]], - Field( - description="Attach one or more image files to the initial prompt. Separate multiple paths with commas or repeat the flag.", - ), - ] = None, + # image: Annotated[ + # Optional[List[Path]], + # Field( + # description="Attach one or more image files to the initial prompt. Separate multiple paths with commas or repeat the flag.", + # ), + # ] = None, model: Annotated[ Optional[str], Field( @@ -176,8 +176,8 @@ async def codex( # Build command as list to avoid injection cmd = ["codex", "exec", "--sandbox", sandbox, "--cd", str(cd), "--json"] - if image is not None: - cmd.extend(["--image", ",".join(image)]) + # if image is not None: + # cmd.extend(["--image", ",".join(image)]) if model is not None: cmd.extend(["--model", model])