[GH-ISSUE #77] [bug]未配置AI时,第二次开始同步时无法正常生成 commit,导致同步失败 #51

Closed
opened 2026-03-02 03:37:25 +03:00 by kerem · 8 comments
Owner

Originally created by @pengpeng89 on GitHub (Feb 14, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/77

每个文件第一次上传都能成功,然后修改内容,在上传,小圈一直转,也没报错。我用的是最新版本。

Image

Originally created by @pengpeng89 on GitHub (Feb 14, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/77 每个文件第一次上传都能成功,然后修改内容,在上传,小圈一直转,也没报错。我用的是最新版本。 ![Image](https://github.com/user-attachments/assets/fb646bd0-1c27-42ba-ba3b-1fc999eae827)
kerem 2026-03-02 03:37:25 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@codexu commented on GitHub (Feb 14, 2025):

右键打开开发者工具,看一下报错信息

<!-- gh-comment-id:2658302126 --> @codexu commented on GitHub (Feb 14, 2025): 右键打开开发者工具,看一下报错信息
Author
Owner

@codexu commented on GitHub (Feb 14, 2025):

Image 页面上点右键,就像前端调试那样看报错信息。
<!-- gh-comment-id:2658338743 --> @codexu commented on GitHub (Feb 14, 2025): <img width="207" alt="Image" src="https://github.com/user-attachments/assets/7e3d2aca-1f9b-4d35-bf00-31b2610673c6" /> 页面上点右键,就像前端调试那样看报错信息。
Author
Owner

@pengpeng89 commented on GitHub (Feb 14, 2025):

Image 转圈的时候就是这样子

<!-- gh-comment-id:2658360242 --> @pengpeng89 commented on GitHub (Feb 14, 2025): ![Image](https://github.com/user-attachments/assets/872365d4-ad12-48c7-8f6d-a1f0574b8609) 转圈的时候就是这样子
Author
Owner

@codexu commented on GitHub (Feb 14, 2025):

AI 功能配置了吗?可以正常使用吗?第二次同步时,可能会使用 AI 功能,然后看下同步仓库中的文件是否已经正常写入。

<!-- gh-comment-id:2658387893 --> @codexu commented on GitHub (Feb 14, 2025): AI 功能配置了吗?可以正常使用吗?第二次同步时,可能会使用 AI 功能,然后看下同步仓库中的文件是否已经正常写入。
Author
Owner

@pengpeng89 commented on GitHub (Feb 14, 2025):

哦,没配置AI功能,那可能是这个原因

<!-- gh-comment-id:2658417475 --> @pengpeng89 commented on GitHub (Feb 14, 2025): 哦,没配置AI功能,那可能是这个原因
Author
Owner

@codexu commented on GitHub (Feb 14, 2025):

由于 Git 提交时需要填写 commit 信息,为了避免操作复杂,这里使用 AI + diff 文件变化自动填写,这里未考虑没配置 AI 的情况,后续将修复这个 BUG。

<!-- gh-comment-id:2658420406 --> @codexu commented on GitHub (Feb 14, 2025): 由于 Git 提交时需要填写 commit 信息,为了避免操作复杂,这里使用 AI + diff 文件变化自动填写,这里未考虑没配置 AI 的情况,后续将修复这个 BUG。
Author
Owner

@pengpeng89 commented on GitHub (Feb 14, 2025):

还有个问题,改了文件名,不能传了。haha...
<!-- gh-comment-id:2658486315 --> @pengpeng89 commented on GitHub (Feb 14, 2025): <!-- Failed to upload "image.png" --> 还有个问题,改了文件名,不能传了。haha...
Author
Owner

@codexu commented on GitHub (Feb 14, 2025):

报错信息看一下

<!-- gh-comment-id:2658533195 --> @codexu commented on GitHub (Feb 14, 2025): 报错信息看一下
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#51
No description provided.