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

feat: [AI] support adding extend LLM #1021

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Conversation

LiHua000
Copy link
Contributor

optimizing existing features

Log:as title

optimizing existing features

Log:as title
Copy link

  • 敏感词检查失败, 检测到3个文件存在敏感词
详情
{
    "src/plugins/codegeex/codegeexmanager.cpp": [
        {
            "line": "static const char *kUrlSSEChat = \"https://codegeex.cn/prod/code/chatCodeSseV3/chat\";",
            "line_number": 29,
            "rule": "S35",
            "reason": "Url link | 9a3dc8cf24"
        },
        {
            "line": "static const char *kUrlNewSession = \"https://codegeex.cn/prod/code/chatGlmTalk/insert\";",
            "line_number": 31,
            "rule": "S35",
            "reason": "Url link | bed2c163c5"
        },
        {
            "line": "static const char *kUrlDeleteSession = \"https://codegeex.cn/prod/code/chatGlmTalk/delete\";",
            "line_number": 32,
            "rule": "S35",
            "reason": "Url link | 1c26bba3f3"
        },
        {
            "line": "static const char *kUrlQuerySession = \"https://codegeex.cn/prod/code/chatGlmTalk/selectList\";",
            "line_number": 33,
            "rule": "S35",
            "reason": "Url link | 354cff53d7"
        },
        {
            "line": "static const char *kUrlQueryMessage = \"https://codegeex.cn/prod/code/chatGmlMsg/selectList\";",
            "line_number": 34,
            "rule": "S35",
            "reason": "Url link | 63ba5cece9"
        }
    ],
    "src/plugins/codegeex/codegeex/askapi.cpp": [
        {
            "line": "    QString url = QString(\"https://codegeex.cn/auth?sessionId=%1&%2=%3&device=%4\").arg(sessionId).arg(machineId).arg(userId).arg(env);",
            "line_number": 303,
            "rule": "S35",
            "reason": "Url link | b07d252a19"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/logout\";",
            "line_number": 309,
            "rule": "S35",
            "reason": "Url link | ee6b8d530b"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/getUserInfo\";",
            "line_number": 329,
            "rule": "S35",
            "reason": "Url link | cdba09a05e"
        }
    ],
    "src/plugins/aimanager/aimanager.json": [
        {
            "line": "    \"UrlLink\" : \"https://uosdn.uniontech.com/#document2?dirid=656d40a9bd766615b0b02e5e\",",
            "line_number": 12,
            "rule": "S35",
            "reason": "Url link | f9197a3d4e"
        }
    ]
}

1 similar comment
Copy link

  • 敏感词检查失败, 检测到3个文件存在敏感词
详情
{
    "src/plugins/codegeex/codegeexmanager.cpp": [
        {
            "line": "static const char *kUrlSSEChat = \"https://codegeex.cn/prod/code/chatCodeSseV3/chat\";",
            "line_number": 29,
            "rule": "S35",
            "reason": "Url link | 9a3dc8cf24"
        },
        {
            "line": "static const char *kUrlNewSession = \"https://codegeex.cn/prod/code/chatGlmTalk/insert\";",
            "line_number": 31,
            "rule": "S35",
            "reason": "Url link | bed2c163c5"
        },
        {
            "line": "static const char *kUrlDeleteSession = \"https://codegeex.cn/prod/code/chatGlmTalk/delete\";",
            "line_number": 32,
            "rule": "S35",
            "reason": "Url link | 1c26bba3f3"
        },
        {
            "line": "static const char *kUrlQuerySession = \"https://codegeex.cn/prod/code/chatGlmTalk/selectList\";",
            "line_number": 33,
            "rule": "S35",
            "reason": "Url link | 354cff53d7"
        },
        {
            "line": "static const char *kUrlQueryMessage = \"https://codegeex.cn/prod/code/chatGmlMsg/selectList\";",
            "line_number": 34,
            "rule": "S35",
            "reason": "Url link | 63ba5cece9"
        }
    ],
    "src/plugins/codegeex/codegeex/askapi.cpp": [
        {
            "line": "    QString url = QString(\"https://codegeex.cn/auth?sessionId=%1&%2=%3&device=%4\").arg(sessionId).arg(machineId).arg(userId).arg(env);",
            "line_number": 303,
            "rule": "S35",
            "reason": "Url link | b07d252a19"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/logout\";",
            "line_number": 309,
            "rule": "S35",
            "reason": "Url link | ee6b8d530b"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/getUserInfo\";",
            "line_number": 329,
            "rule": "S35",
            "reason": "Url link | cdba09a05e"
        }
    ],
    "src/plugins/aimanager/aimanager.json": [
        {
            "line": "    \"UrlLink\" : \"https://uosdn.uniontech.com/#document2?dirid=656d40a9bd766615b0b02e5e\",",
            "line_number": 12,
            "rule": "S35",
            "reason": "Url link | f9197a3d4e"
        }
    ]
}

@LiHua000 LiHua000 force-pushed the temp2 branch 2 times, most recently from f9a3458 to 0b609f3 Compare December 19, 2024 02:35
Copy link

  • 敏感词检查失败, 检测到3个文件存在敏感词
详情
{
    "src/plugins/codegeex/codegeexmanager.cpp": [
        {
            "line": "static const char *kUrlSSEChat = \"https://codegeex.cn/prod/code/chatCodeSseV3/chat\";",
            "line_number": 29,
            "rule": "S35",
            "reason": "Url link | 9a3dc8cf24"
        },
        {
            "line": "static const char *kUrlNewSession = \"https://codegeex.cn/prod/code/chatGlmTalk/insert\";",
            "line_number": 31,
            "rule": "S35",
            "reason": "Url link | bed2c163c5"
        },
        {
            "line": "static const char *kUrlDeleteSession = \"https://codegeex.cn/prod/code/chatGlmTalk/delete\";",
            "line_number": 32,
            "rule": "S35",
            "reason": "Url link | 1c26bba3f3"
        },
        {
            "line": "static const char *kUrlQuerySession = \"https://codegeex.cn/prod/code/chatGlmTalk/selectList\";",
            "line_number": 33,
            "rule": "S35",
            "reason": "Url link | 354cff53d7"
        },
        {
            "line": "static const char *kUrlQueryMessage = \"https://codegeex.cn/prod/code/chatGmlMsg/selectList\";",
            "line_number": 34,
            "rule": "S35",
            "reason": "Url link | 63ba5cece9"
        }
    ],
    "src/plugins/codegeex/codegeex/askapi.cpp": [
        {
            "line": "    QString url = QString(\"https://codegeex.cn/auth?sessionId=%1&%2=%3&device=%4\").arg(sessionId).arg(machineId).arg(userId).arg(env);",
            "line_number": 303,
            "rule": "S35",
            "reason": "Url link | b07d252a19"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/logout\";",
            "line_number": 309,
            "rule": "S35",
            "reason": "Url link | ee6b8d530b"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/getUserInfo\";",
            "line_number": 329,
            "rule": "S35",
            "reason": "Url link | cdba09a05e"
        }
    ],
    "src/plugins/aimanager/aimanager.json": [
        {
            "line": "    \"UrlLink\" : \"https://uosdn.uniontech.com/#document2?dirid=656d40a9bd766615b0b02e5e\",",
            "line_number": 12,
            "rule": "S35",
            "reason": "Url link | f9197a3d4e"
        }
    ]
}

@deepin-ci-robot
Copy link

deepin pr auto review

###PATH:./codegeex-plugin-main/src/services/option/optionmanager.cpp
// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

#include "optionmanager.h"
#include "optiondatastruct.h"
#include "optiongenerator.h"
#include "optionitem.h"
#include "optionitemdelegate.h"
#include "optionitemmodel.h"
#include "optionitemview.h"
#include "optionitemwidget.h"
#include "optionpage.h"
#include "optionwidget.h"
#include "optionwidgetdelegate.h"
#include "optionwidgetmodel.h"
#include "optionwidgetview.h"
#include "optionwidgetwidget.h"
#include "optionwidgetwidgetdelegate.h"
#include "optionwidgetwidgetmodel.h"
#include "optionwidgetwidgetview.h"
#include "optionwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetview.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetdelegate.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetmodel.h"
#include "optionwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidgetwidget

src/plugins/aimanager/openai/openaicompatiblellm.cpp Outdated Show resolved Hide resolved
src/plugins/aimanager/option/addmodeldialog.cpp Outdated Show resolved Hide resolved
mainWidget->setFixedSize(360, 140);
QVBoxLayout *mainLayout = new QVBoxLayout(mainWidget);
mainLayout->addWidget(warningText, 0, Qt::AlignTop | Qt::AlignLeft);
dialog.addContent(mainWidget);
Copy link
Contributor

Choose a reason for hiding this comment

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

直接将warningText添加到dialog中就行了吧

Copy link
Contributor Author

Choose a reason for hiding this comment

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

样式不符合设计。 这样子写能多个白色的背景

src/plugins/aimanager/option/custommodelsoptionwidget.cpp Outdated Show resolved Hide resolved
Copy link

  • 敏感词检查失败, 检测到3个文件存在敏感词
详情
{
    "src/plugins/codegeex/codegeexmanager.cpp": [
        {
            "line": "static const char *kUrlSSEChat = \"https://codegeex.cn/prod/code/chatCodeSseV3/chat\";",
            "line_number": 29,
            "rule": "S35",
            "reason": "Url link | 9a3dc8cf24"
        },
        {
            "line": "static const char *kUrlNewSession = \"https://codegeex.cn/prod/code/chatGlmTalk/insert\";",
            "line_number": 31,
            "rule": "S35",
            "reason": "Url link | bed2c163c5"
        },
        {
            "line": "static const char *kUrlDeleteSession = \"https://codegeex.cn/prod/code/chatGlmTalk/delete\";",
            "line_number": 32,
            "rule": "S35",
            "reason": "Url link | 1c26bba3f3"
        },
        {
            "line": "static const char *kUrlQuerySession = \"https://codegeex.cn/prod/code/chatGlmTalk/selectList\";",
            "line_number": 33,
            "rule": "S35",
            "reason": "Url link | 354cff53d7"
        },
        {
            "line": "static const char *kUrlQueryMessage = \"https://codegeex.cn/prod/code/chatGmlMsg/selectList\";",
            "line_number": 34,
            "rule": "S35",
            "reason": "Url link | 63ba5cece9"
        }
    ],
    "src/plugins/codegeex/codegeex/askapi.cpp": [
        {
            "line": "    QString url = QString(\"https://codegeex.cn/auth?sessionId=%1&%2=%3&device=%4\").arg(sessionId).arg(machineId).arg(userId).arg(env);",
            "line_number": 303,
            "rule": "S35",
            "reason": "Url link | b07d252a19"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/logout\";",
            "line_number": 309,
            "rule": "S35",
            "reason": "Url link | ee6b8d530b"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/getUserInfo\";",
            "line_number": 329,
            "rule": "S35",
            "reason": "Url link | cdba09a05e"
        }
    ],
    "src/plugins/aimanager/aimanager.json": [
        {
            "line": "    \"UrlLink\" : \"https://uosdn.uniontech.com/#document2?dirid=656d40a9bd766615b0b02e5e\",",
            "line_number": 12,
            "rule": "S35",
            "reason": "Url link | f9197a3d4e"
        }
    ]
}

Copy link

  • 敏感词检查失败, 检测到3个文件存在敏感词
详情
{
    "src/plugins/codegeex/codegeexmanager.cpp": [
        {
            "line": "static const char *kUrlSSEChat = \"https://codegeex.cn/prod/code/chatCodeSseV3/chat\";",
            "line_number": 29,
            "rule": "S35",
            "reason": "Url link | 9a3dc8cf24"
        },
        {
            "line": "static const char *kUrlNewSession = \"https://codegeex.cn/prod/code/chatGlmTalk/insert\";",
            "line_number": 31,
            "rule": "S35",
            "reason": "Url link | bed2c163c5"
        },
        {
            "line": "static const char *kUrlDeleteSession = \"https://codegeex.cn/prod/code/chatGlmTalk/delete\";",
            "line_number": 32,
            "rule": "S35",
            "reason": "Url link | 1c26bba3f3"
        },
        {
            "line": "static const char *kUrlQuerySession = \"https://codegeex.cn/prod/code/chatGlmTalk/selectList\";",
            "line_number": 33,
            "rule": "S35",
            "reason": "Url link | 354cff53d7"
        },
        {
            "line": "static const char *kUrlQueryMessage = \"https://codegeex.cn/prod/code/chatGmlMsg/selectList\";",
            "line_number": 34,
            "rule": "S35",
            "reason": "Url link | 63ba5cece9"
        }
    ],
    "src/plugins/codegeex/codegeex/askapi.cpp": [
        {
            "line": "    QString url = QString(\"https://codegeex.cn/auth?sessionId=%1&%2=%3&device=%4\").arg(sessionId).arg(machineId).arg(userId).arg(env);",
            "line_number": 303,
            "rule": "S35",
            "reason": "Url link | b07d252a19"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/logout\";",
            "line_number": 309,
            "rule": "S35",
            "reason": "Url link | ee6b8d530b"
        },
        {
            "line": "    QString url = \"https://codegeex.cn/prod/code/oauth/getUserInfo\";",
            "line_number": 329,
            "rule": "S35",
            "reason": "Url link | cdba09a05e"
        }
    ],
    "src/plugins/aimanager/aimanager.json": [
        {
            "line": "    \"UrlLink\" : \"https://uosdn.uniontech.com/#document2?dirid=656d40a9bd766615b0b02e5e\",",
            "line_number": 12,
            "rule": "S35",
            "reason": "Url link | f9197a3d4e"
        }
    ]
}

@deepin-mozart deepin-mozart merged commit b4a33eb into linuxdeepin:master Dec 20, 2024
9 of 10 checks passed
@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

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.

4 participants