Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: modified codegeex plugin #905

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Conversation

LiHua000
Copy link
Contributor

No description provided.

1.remove last codeline when received code is too long
2.modifyed codecompletionextendwidget width and display logic

Log: as title
@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • CodeCompletionWidget的初始化函数中,将completionExtWidget的固定宽度从300增加到500,可能会影响其他插件或界面的布局。需要确认这是否是预期的更改。
  • processJsonObject函数中,增加了对最后一行代码的检查,如果最后一行不是以分号(;)、大括号(})或换行符(\n)结尾,则移除最后一行。这可能是为了清理代码,但需要确保这样的处理不会影响代码的功能。
  • 更新了kUrlSSEChatkUrlGenerateMultiLine的URL,这可能是为了修复URL的错误或者更新API的地址。需要验证新的URL是否正确,并且API是否仍然可用。

是否建议立即修改:

  • 是,需要确保这些更改不会引入新的问题,并且与现有的功能和API兼容。同时,应该添加相应的单元测试来验证这些更改不会破坏现有功能。

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deepin-mozart, LiHua000

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-mozart deepin-mozart merged commit 200d278 into linuxdeepin:master Sep 12, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants