Skip to content

[Bug] 不遵循全局指令、粘贴图片后自动删除回车、空行 #1240

Description

@sunzhifanf

What happened? / 问题描述

问题1 ——全局提示词 .pi\agent\AGENT.md
我的AGENT.md的提示词为 【Always respond using Markdown formatting, including headers, bold text, bullet lists, and code blocks where appropriate.
展示生成的独立文件时,输出工作区相对路径,以/分隔,保留完整扩展名。】
在使用的时候,ai生成的文件经常不使用相对路径,导致没办法 通过右键使用‘在文件夹中打开’的功能。
一轮对话中,四次提醒注意全局提示词,依然我行我素,
单开新对话,问我的全局提示词是啥,回答错误。ai自分析结果为 “写在这次对话上下文中的 developer 消息里”
疑似是这个“developer 消息”覆盖了AGENT.md
模型是gpt-6-luna。

问题2——粘贴图片会删除对话框中的回车 或者 shift+回车,导致已经排好版的消息混乱

上述问题对应的版本为0.15.10 win11

Steps to reproduce / 复现步骤

如上

Expected behavior / 预期行为

如上

Actual behavior / 实际行为

如上

App version / 应用版本

0.15.10

Operating system / 操作系统

Windows

Extra environment / 其他环境信息

PI-Desktop 0.15.10 · win32 x64 · protocol 11 · host 0.15.10

Logs / 日志

Screenshots / 截图

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions