Skip to content

feat: [Ai] Adapt the existing AI capabilities to switch between multi… #1903

feat: [Ai] Adapt the existing AI capabilities to switch between multi…

feat: [Ai] Adapt the existing AI capabilities to switch between multi… #1903

Triggered via pull request January 14, 2025 05:29
@LiHua000LiHua000
synchronize #1056
Status Success
Total duration 4m 5s
Artifacts

cppcheck.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
cppcheck: src/base/ai/conversation.cpp#L87
The function 'getLastResponse' is never used.
cppcheck: src/plugins/aimanager/aimanager.cpp#L6
Include file: "services/ai/aiservice.h" not found.
cppcheck: src/plugins/aimanager/aimanager.cpp#L9
Include file: "services/option/optionmanager.h" not found.
cppcheck: src/plugins/aimanager/aimanager.cpp#L10
Include file: "services/editor/editorservice.h" not found.
cppcheck: src/plugins/aimanager/aimanager.cpp#L12
Include file: "common/util/eventdefinitions.h" not found.
cppcheck: src/plugins/aimanager/aimanager.cpp#L16
Include file: <QMap> not found. Please note: Cppcheck does not need standard library headers to get proper results.
cppcheck: src/plugins/aimanager/aiplugin.cpp#L32
Consider using std::find_if algorithm instead of a raw loop.
cppcheck: src/plugins/aimanager/aiplugin.cpp#L39
Consider using std::find_if algorithm instead of a raw loop.
cppcheck: src/plugins/aimanager/codegeex/codegeexcompletionprovider.cpp#L116
Variable 'line' is used to iterate by value. It could be declared as a const reference which is usually faster and recommended in C++.
cppcheck: src/plugins/aimanager/codegeex/codegeexcompletionprovider.cpp#L129
Variable 'line' is used to iterate by value. It could be declared as a const reference which is usually faster and recommended in C++.