[agent] [prompt] Fixes: structured LLM request, subgraphWithTask. Undeprecate PromptBuilder methods #877
checks.yml
on: pull_request
Matrix: tests
compilation
5m 59s
qodana
6m 11s
Annotations
35 warnings
compilation
Failed to restore gradle-home-v1|Linux-X64|compilation[a3381075d7cd26263b655d64b21b7e3e]-92f026c419c101f0a44147875c78147dc2e24dcc: Error: getCacheEntry failed: Cache service responded with 503
|
tests (windows-latest)
Failed to restore gradle-home-v1|Windows-X64|tests[29979c3a2b05be1590d9af5601f8afaa]-92f026c419c101f0a44147875c78147dc2e24dcc: Error: getCacheEntry failed: Cache service responded with 503
|
tests (ubuntu-latest)
Failed to restore gradle-home-v1|Linux-X64|tests[163e76799392b6873732d518814abd68]-92f026c419c101f0a44147875c78147dc2e24dcc: Error: getCacheEntry failed: Cache service responded with 503
|
Check Kotlin and Java source code coverage:
agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/feature/model/AIAgentError.kt#L27
Constructor `AIAgentError` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
agents/agents-test/src/commonMain/kotlin/ai/koog/agents/testing/feature/TestingFeature.kt#L370
Class `Companion` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
prompt/prompt-executor/prompt-executor-clients/prompt-executor-ollama-client/src/commonMain/kotlin/ai/koog/prompt/executor/ollama/client/dto/OllamaModels.kt#L93
Class `OllamaErrorResponseDTO` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
agents/agents-tools/src/commonMain/kotlin/ai/koog/agents/core/tools/Tool.kt#L164
Method `encodeResultToString` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
prompt/prompt-executor/prompt-executor-clients/prompt-executor-ollama-client/src/commonMain/kotlin/ai/koog/prompt/executor/ollama/client/dto/OllamaModels.kt#L93
Method `getError` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/agent/entity/AIAgentStorage.kt#L64
Method `getValue` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/agent/config/AIAgentConfig.kt#L29
Constructor `Companion` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
agents/agents-test/src/commonMain/kotlin/ai/koog/agents/testing/tools/MockLLMBuilder.kt#L152
Method `addLLMAnswerPartialPattern` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
agents/agents-features/agents-features-memory/src/commonMain/kotlin/ai/koog/agents/memory/feature/history/MemoryBasedHistoryCompression.kt#L24
Constructor `RetrieveFactsFromHistory` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
prompt/prompt-executor/prompt-executor-clients/prompt-executor-ollama-client/src/commonMain/kotlin/ai/koog/prompt/executor/ollama/client/dto/OllamaModels.kt#L93
Constructor `OllamaErrorResponseDTO` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
prompt/prompt-cache/prompt-cache-model/src/commonMain/kotlin/ai/koog/prompt/cache/memory/InMemoryPromptCache.kt#L16
Class `Companion` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
agents/agents-tools/src/jvmMain/kotlin/ai/koog/agents/core/tools/reflect/util.kt#L103
Method `tools` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
prompt/prompt-cache/prompt-cache-model/src/commonMain/kotlin/ai/koog/prompt/cache/memory/InMemoryPromptCache.kt#L16
Constructor `Companion` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/agent/config/AIAgentConfig.kt#L29
Class `Companion` coverage is below the threshold 50%
|
Check Kotlin and Java source code coverage:
agents/agents-test/src/commonMain/kotlin/ai/koog/agents/testing/feature/TestingFeature.kt#L370
Constructor `Companion` coverage is below the threshold 50%
|
|
|
|
|
|
|
|
Unused import directive:
prompt/prompt-model/src/jvmTest/kotlin/ai/koog/prompt/PromptTest.kt#L11
Unused import directive
|
|
|
|
Missing KDoc for public API declaration:
agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/feature/AIAgentPipeline.kt#L758
Missing KDoc for the public API declaration ai.koog.agents.core.feature.InterceptContext
|
Vulnerable imported dependency:
koog-agents.buildSrc.main#L0
Dependency maven:com.fasterxml.woodstox:woodstox-core:6.2.4 is vulnerable , safe version 6.4.0
Module: koog-agents.buildSrc.main
Tree:
```
com.fasterxml.woodstox:woodstox-core:6.2.4
```
* [CVE-2022-40152](https://www.mend.io/vulnerability-database/CVE-2022-40152?utm_source=JetBrains) 6.5 Out-of-bounds Write
Results powered by [Mend.io](https://www.mend.io/jetbrains-lp/?utm_source=JetBrains)
|
Vulnerable imported dependency:
koog-agents.integration-tests.jvmTest#L0
Dependency maven:org.apache.commons:commons-compress:1.24.0 is vulnerable , safe version 1.26.0
Module: koog-agents.integration-tests.jvmTest
Tree:
```
org.apache.commons:commons-compress:1.24.0
-org.testcontainers:testcontainers:1.19.7
```
* [CVE-2024-25710](https://www.mend.io/vulnerability-database/CVE-2024-25710?utm_source=JetBrains) 8.1 Loop with Unreachable Exit Condition ('Infinite Loop')
* [CVE-2024-26308](https://www.mend.io/vulnerability-database/CVE-2024-26308?utm_source=JetBrains) 5.5 Allocation of Resources Without Limits or Throttling
Results powered by [Mend.io](https://www.mend.io/jetbrains-lp/?utm_source=JetBrains)
|
Vulnerable imported dependency:
koog-agents.integration-tests.jvmMain#L0
Dependency maven:org.apache.commons:commons-compress:1.24.0 is vulnerable , safe version 1.26.0
Module: koog-agents.integration-tests.jvmMain
Tree:
```
org.apache.commons:commons-compress:1.24.0
-org.testcontainers:testcontainers:1.19.7
```
* [CVE-2024-25710](https://www.mend.io/vulnerability-database/CVE-2024-25710?utm_source=JetBrains) 8.1 Loop with Unreachable Exit Condition ('Infinite Loop')
* [CVE-2024-26308](https://www.mend.io/vulnerability-database/CVE-2024-26308?utm_source=JetBrains) 5.5 Allocation of Resources Without Limits or Throttling
Results powered by [Mend.io](https://www.mend.io/jetbrains-lp/?utm_source=JetBrains)
|
Vulnerable imported dependency:
koog-agents.buildSrc.main#L0
Dependency maven:com.fasterxml.jackson.core:jackson-core:2.12.7 is vulnerable , safe version 2.15.0-rc1
Module: koog-agents.buildSrc.main
Tree:
```
com.fasterxml.jackson.core:jackson-core:2.12.7
```
* [WS-2022-0468](https://www.mend.io/vulnerability-database/WS-2022-0468?utm_source=JetBrains) 7.5 Insufficient Information
Results powered by [Mend.io](https://www.mend.io/jetbrains-lp/?utm_source=JetBrains)
|
qodana
Failed to push quick fixes – The process '/usr/bin/git' failed with exit code 128
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
gradle-coverage-data.zip
|
73.8 KB |
sha256:52bf0d7ca31eafe06fd31a7da2a553e00e87fc92a6e610982dad8a71cd61f253
|
|
reports-ubuntu-latest
|
753 KB |
sha256:e5fc3aa86198a1a06706126e1ae55efcb1c72c17120837dfdf360f386a484351
|
|
reports-windows-latest
|
290 KB |
sha256:4e615862ea384bf135576a21306831d825cffbee31a79bd37c91591482c166ce
|
|