mirror of
https://github.com/GuDaStudio/codexmcp.git
synced 2026-02-05 02:00:24 +08:00
v0.5.1:修复字符转换问题
This commit is contained in:
@@ -158,8 +158,12 @@ async def codex(
|
|||||||
|
|
||||||
if SESSION_ID is not None:
|
if SESSION_ID is not None:
|
||||||
cmd.extend(["resume", str(SESSION_ID)])
|
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]] = []
|
all_messages: list[Dict[str, Any]] = []
|
||||||
agent_messages = ""
|
agent_messages = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user