Skip to content

Conversation

@LiHua000
Copy link
Contributor

…ple LLMs

remove copilotApi
remove askApi

disabled chat history functional.

Log: as title

@github-actions
Copy link

  • 敏感词检查失败, 检测到3个文件存在敏感词
详情
{
    "src/plugins/aimanager/aimanager.cpp": [
        {
            "line": "static const char *kCodeGeeXModelPath = \"https://codegeex.cn/prod/code/chatCodeSseV3/chat\";",
            "line_number": 18,
            "rule": "S35",
            "reason": "Url link | 9a3dc8cf24"
        }
    ],
    "src/plugins/aimanager/codegeex/codegeexllm.cpp": [
        {
            "line": "static const char *kUrlGenerateMultiLine = \"https://api.codegeex.cn:8443/v3/completions/inline?stream=false\";",
            "line_number": 21,
            "rule": "S35",
            "reason": "Url link | e01ed92bb3"
        },
        {
            "line": "static const char *kUrlCreateNewSession = \"https://codegeex.cn/prod/code/chatGlmTalk/insert\";",
            "line_number": 22,
            "rule": "S35",
            "reason": "Url link | bed2c163c5"
        },
        {
            "line": "static const char *kUrlQueryUserInfo = \"https://codegeex.cn/prod/code/oauth/getUserInfo\";",
            "line_number": 23,
            "rule": "S35",
            "reason": "Url link | cdba09a05e"
        },
        {
            "line": "    QString url = QString(\"https://codegeex.cn/auth?sessionId=%1&%2=%3&device=%4\").arg(apiKey).arg(machineId).arg(apiKey).arg(\"deepin-unioncode\");",
            "line_number": 132,
            "rule": "S35",
            "reason": "Url link | b07d252a19"
        }
    ],
    "src/plugins/codegeex/widgets/inlinechatwidget.cpp": [
        {
            "line": "constexpr char kInlineChatUrl[] = \"https://codegeex.cn/prod/code/chatCodeSseV3/chat?stream=false\";",
            "line_number": 29,
            "rule": "S35",
            "reason": "Url link | 1df975953e"
        }
    ]
}

@deepin-bot
Copy link

deepin-bot bot commented Jan 14, 2025

TAG Bot

New tag: 1.4.1
DISTRIBUTION: stable
Suggest: synchronizing this PR through rebase #1057

OpenAiCompatibleLLM::connect(reply, &QNetworkReply::readyRead, q, [=]() {
if (reply->error()) {
qCritical() << "Error:" << reply->errorString();
emit q->dataReceived(reply->errorString(), AbstractLLM::ResponseState::Failed);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用replyMessage接口

…ple LLMs

remove copilotApi
remove askApi

disabled chat history functional.

Log: as title
@github-actions
Copy link

  • 敏感词检查失败, 检测到3个文件存在敏感词
详情
{
    "src/plugins/aimanager/aimanager.cpp": [
        {
            "line": "static const char *kCodeGeeXModelPath = \"https://codegeex.cn/prod/code/chatCodeSseV3/chat\";",
            "line_number": 18,
            "rule": "S35",
            "reason": "Url link | 9a3dc8cf24"
        }
    ],
    "src/plugins/aimanager/codegeex/codegeexllm.cpp": [
        {
            "line": "static const char *kUrlGenerateMultiLine = \"https://api.codegeex.cn:8443/v3/completions/inline?stream=false\";",
            "line_number": 21,
            "rule": "S35",
            "reason": "Url link | e01ed92bb3"
        },
        {
            "line": "static const char *kUrlCreateNewSession = \"https://codegeex.cn/prod/code/chatGlmTalk/insert\";",
            "line_number": 22,
            "rule": "S35",
            "reason": "Url link | bed2c163c5"
        },
        {
            "line": "static const char *kUrlQueryUserInfo = \"https://codegeex.cn/prod/code/oauth/getUserInfo\";",
            "line_number": 23,
            "rule": "S35",
            "reason": "Url link | cdba09a05e"
        },
        {
            "line": "    QString url = QString(\"https://codegeex.cn/auth?sessionId=%1&%2=%3&device=%4\").arg(apiKey).arg(machineId).arg(apiKey).arg(\"deepin-unioncode\");",
            "line_number": 132,
            "rule": "S35",
            "reason": "Url link | b07d252a19"
        }
    ],
    "src/plugins/codegeex/widgets/inlinechatwidget.cpp": [
        {
            "line": "constexpr char kInlineChatUrl[] = \"https://codegeex.cn/prod/code/chatCodeSseV3/chat?stream=false\";",
            "line_number": 29,
            "rule": "S35",
            "reason": "Url link | 1df975953e"
        }
    ]
}

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Kakueeen, LiHua000
Once this PR has been reviewed and has the lgtm label, please assign eric2023 for approval. For more information see the Code Review Process.

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

Details 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 c53ee83 into linuxdeepin:master Jan 14, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants