JetBrains/PyCharm 集成 Kimi Code CLI(ACP)握手失败:AcpExpectedError: Invalid params,导致会话无法建立、历史不可用,/sessions 提示 Unknown slash command || JetBrains/PyCharm integrated Kimi Code CLI (ACP) handshake failed: AcpExpectedError: Invalid params, causing the session to be unable to be established, the history to be unavailable, and /sessions prompting Unknown slash command #967
2212998208
started this conversation in
General
Replies: 2 comments
-
|
same,遇到一样的问题 Same, encountered the same problem |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
这是自动回复,旨在提醒您的邮件已发送给我。This is automatic reply, donot focus on it.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What feature would you like to see?
关于Pycharm等IDEA,asp功能实现不全面,我希望能完全接入Pycharm的asp功能。
问题描述
在 PyCharm(JetBrains AI Chat + ACP)中接入 Kimi Code CLI 作为 ACP agent server 时,ACP 会话初始化失败,导致无法建立/持久化聊天会话;同时在 IDE 里输入
/sessions会提示 Unknown slash command,历史(时钟)按钮为灰色不可用。环境
kimi acp复现步骤
~/.jetbrains/acp.json(见下方)/sessions/sessions返回Unknown slash command "/sessions";ACP 日志中握手失败并终止进程预期行为
实际行为
AcpExpectedError: Invalid params/sessions在 IDE 内返回 unknown slash command配置(acp.json)
{ "agent_servers": { "Kimi Code CLI": { "command": "/home/ninico/.local/bin/kimi", "args": ["acp"], "env": {} } } } ### Additional information _No response_ <!--This is a translation content dividing line, the content below is generated by machine, please do not modify the content below--> --- ### What feature would you like to see? Regarding IDEA such as Pycharm, the asp function is not fully implemented. I hope to be able to fully access Pycharm's asp function. ## Problem description When connecting Kimi Code CLI as the ACP agent server in PyCharm (JetBrains AI Chat + ACP), the ACP session initialization fails, resulting in the inability to establish/persist the chat session; at the same time, entering `/sessions` in the IDE will prompt an Unknown slash command, and the history (clock) button is gray and unavailable. ## Environment - OS: Linux - IDE: PyCharm (JetBrains) - Kimi Code CLI: kimi version 1.3 - Start mode: `kimi acp` ## Reproduction steps 1. Configure `~/.jetbrains/acp.json` (see below) 2. Select Kimi Code CLI in PyCharm AI Chat 3. Send any message or enter `/sessions` 4. Observation: The history button is gray; `/sessions` returns `Unknown slash command "/sessions"`; the handshake fails in the ACP log and the process is terminated ## expected behavior - ACP initialize/handshake is successful and no error is reported - IDE history available, or equivalent session review/recovery capabilities in ACP mode ## Actual behavior - ACP session initialization error: `AcpExpectedError: Invalid params` - The Kimi process is subsequently terminated (SIGTERM/exit code 143) - `/sessions` returns unknown slash command in IDE ## Configuration (acp.json) ```json { "agent_servers": { "Kimi Code CLI": { "command": "/home/ninico/.local/bin/kimi", "args": ["acp"], "env": {} } } } ### Additional information _No response_Beta Was this translation helpful? Give feedback.
All reactions