mirror of
https://github.com/GuDaStudio/codexmcp.git
synced 2026-10-12 12:59:57 +08:00
v0.5.1:修复字符转换问题
This commit is contained in:
1 parent
c7a5bfb169
commit
ed42408e7b
1 file changed
+6
-2
@@ -158,8 +158,12 @@ async def codex(
|
||||
|
||||
if SESSION_ID is not None:
|
||||
cmd.extend(["resume", str(SESSION_ID)])
|
||||
PROMPT = PROMPT
|
||||
cmd += ['--', windows_escape(PROMPT)]
|
||||
|
||||
if os.name == "nt":
|
||||
PROMPT = windows_escape(PROMPT)
|
||||
else:
|
||||
PROMPT = PROMPT
|
||||
cmd += ['--', PROMPT]
|
||||
|
||||
all_messages: list[Dict[str, Any]] = []
|
||||
agent_messages = ""
|
||||
|
||||
Reference in new issue
Block a user