Skip to content

Fix code agent examples after tool API refactoring (#1279) #895

Fix code agent examples after tool API refactoring (#1279)

Fix code agent examples after tool API refactoring (#1279) #895

Triggered via push December 16, 2025 21:44
Status Failure
Total duration 10m 47s
Artifacts 9

heavy-tests.yml

on: push
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

23 errors
ModelCapabilitiesIntegrationTest.[34] LLModel(provider=OpenAI, id=gpt-5.1-codex, capabilities=[Completion, Temperature, Basic, Standard, Speculation, Tools, ToolChoice, Image, Document, MultipleChoices, Responses], contextLength=400000, maxOutputTokens=128000), MultipleChoices[jvm]: integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/capabilities/ModelCapabilitiesIntegrationTest.kt#L134
ai.koog.prompt.executor.clients.LLMClientException: Error from client: OpenAILLMClient Error from client: OpenAILLMClient Status code: 4***4 Error body: { "error": { "message": "This is not a chat model and thus not supported in the v1/chat/completions endpoint. Did you mean to use v1/completions?", "type": "invalid_request_error", "param": "model", "code": null } }
ModelCapabilitiesIntegrationTest.[33] LLModel(provider=OpenAI, id=gpt-5.1-codex, capabilities=[Completion, Temperature, Basic, Standard, Speculation, Tools, ToolChoice, Image, Document, MultipleChoices, Responses], contextLength=400000, maxOutputTokens=128000), Document[jvm]: integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/capabilities/ModelCapabilitiesIntegrationTest.kt#L1
ai.koog.http.client.KoogHttpClientException: Error from client: OpenAILLMClient Status code: 4*** Error body: { "error": { "message": "Missing required parameter: 'input[1].content[***]'.", "type": "invalid_request_error", "param": "input[1].content[***]", "code": "missing_required_parameter" } }
capabilities-tests
Process completed with exit code 1.
AIAgentIntegrationTest.[10] LLModel(provider=OpenRouter, id=qwen/qwen3-vl-8b-instruct, capabilities=[Temperature, Speculation, Tools, Completion, Image, Standard, ToolChoice], contextLength=131072, maxOutputTokens=33000)[jvm]: integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/agent/AIAgentIntegrationTest.kt#L972
org.opentest4j.AssertionFailedError: calculator tool should be called for model LLModel(provider=OpenRouter, id=qwen/qwen3-vl-8b-instruct, capabilities=[Temperature, Speculation, Tools, Completion, Image, Standard, ToolChoice], contextLength=131***72, maxOutputTokens=33***) Unexpected elements from index 1 expected:<["calculator"]> but was:<["calculator", "calculator"]>
agent-tests
Process completed with exit code 1.
SingleLLMPromptExecutorIntegrationTest.[15] LARGE_IMAGE, LLModel(provider=OpenAI, id=gpt-5.2, capabilities=[Completion, Temperature, Basic, Standard, Speculation, Tools, ToolChoice, Image, Document, MultipleChoices, Completions, Responses], contextLength=400000, maxOutputTokens=128000)[jvm]: integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/executor/SingleLLMPromptExecutorIntegrationTest.kt#L209
org.opentest4j.AssertionFailedError: "Error from client: OpenAILLMClient Error from client: OpenAILLMClient Status code: 4*** Error body: { "error": { "message": "Invalid content type. image_url is only supported by certain models.", "type": "invalid_request_error", "param": "messages.[1].content.[1].type", "code": null } } " should include substring "image exceeds" Match[***]: part of slice with indexes [***..4] matched actual[152..156] Line[***] ="Error from client: OpenAILLMClient" Line[1] ="Error from client: OpenAILLMClient" Line[2] ="Status code: 4***" Line[3] ="Error body:" Line[4] ="{" Line[5] =" "error": {" Line[6] =" "message": "Invalid content type. image_url is only supported by certain models."," Match[***]= --------------------------------------+++++------------------------------------------- Line[7] =" "type": "invalid_request_error"," Line[8] =" "param": "messages.[1].content.[1].type"," Line[9] =" "code": null" Line[1***] =" }" Line[11] ="}" expected:<image exceeds> but was:<Error from client: OpenAILLMClient Error from client: OpenAILLMClient Status code: 4*** Error body: { "error": { "message": "Invalid content type. image_url is only supported by certain models.", "type": "invalid_request_error", "param": "messages.[1].content.[1].type", "code": null } } >
SingleLLMPromptExecutorIntegrationTest.[3] LLModel(provider=Google, id=gemini-2.5-pro, capabilities=[Temperature, Completion, MultipleChoices, Image, Video, Audio, Tools, ToolChoice, Basic, Standard], contextLength=1048576, maxOutputTokens=65536)[jvm]: integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/executor/SingleLLMPromptExecutorIntegrationTest.kt#L315
org.opentest4j.AssertionFailedError: "Of course. Let's continue with the next step. 1. **Start with the previous result:** Our result from the last calculation (5 + 5) was 1***. 2. **Identify the new operation:** The instruction is to "multiply". This means we need to find the total of adding a number to itself a certain number of times. 3. **Identify the number to multiply by:** We need to multiply by 2. 4. **Perform the multiplication:** Multiplying 1*** by 2 is the" should include substring "2***" expected:<2***> but was:<Of course. Let's continue with the next step. 1. **Start with the previous result:** Our result from the last calculation (5 + 5) was 1***. 2. **Identify the new operation:** The instruction is to "multiply". This means we need to find the total of adding a number to itself a certain number of times. 3. **Identify the number to multiply by:** We need to multiply by 2. 4. **Perform the multiplication:** Multiplying 1*** by 2 is the>
SingleLLMPromptExecutorIntegrationTest.[6] BASIC_JPG, LLModel(provider=OpenAI, id=gpt-5.2, capabilities=[Completion, Temperature, Basic, Standard, Speculation, Tools, ToolChoice, Image, Document, MultipleChoices, Completions, Responses], contextLength=400000, maxOutputTokens=128000)[jvm]: integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/executor/SingleLLMPromptExecutorIntegrationTest.kt#L209
ai.koog.prompt.executor.clients.LLMClientException: Error from client: OpenAILLMClient Error from client: OpenAILLMClient Status code: 4*** Error body: { "error": { "message": "Invalid content type. image_url is only supported by certain models.", "type": "invalid_request_error", "param": "messages.[1].content.[1].type", "code": null } }
single-llm-executor-tests
Process completed with exit code 1.
MultipleLLMPromptExecutorIntegrationTest.[2] BASIC_PNG, LLModel(provider=Google, id=gemini-2.5-pro, capabilities=[Temperature, Completion, MultipleChoices, Image, Video, Audio, Tools, ToolChoice, Basic, Standard], contextLength=1048576, maxOutputTokens=65536)[jvm]: integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/executor/MultipleLLMPromptExecutorIntegrationTest.kt#L89
ai.koog.prompt.executor.clients.LLMClientException: Error from client: GoogleLLMClient Illegal input: Field 'candidates' is required for type with serial name 'ai.koog.prompt.executor.clients.google.models.GoogleResponse', but it was missing at path: $
MultipleLLMPromptExecutorIntegrationTest.[15] LARGE_IMAGE, LLModel(provider=OpenAI, id=gpt-5.2, capabilities=[Completion, Temperature, Basic, Standard, Speculation, Tools, ToolChoice, Image, Document, MultipleChoices, Completions, Responses], contextLength=400000, maxOutputTokens=128000)[jvm]: integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/executor/MultipleLLMPromptExecutorIntegrationTest.kt#L89
org.opentest4j.AssertionFailedError: "Error from client: OpenAILLMClient Error from client: OpenAILLMClient Status code: 4*** Error body: { "error": { "message": "Invalid content type. image_url is only supported by certain models.", "type": "invalid_request_error", "param": "messages.[1].content.[1].type", "code": null } } " should include substring "image exceeds" Match[***]: part of slice with indexes [***..4] matched actual[152..156] Line[***] ="Error from client: OpenAILLMClient" Line[1] ="Error from client: OpenAILLMClient" Line[2] ="Status code: 4***" Line[3] ="Error body:" Line[4] ="{" Line[5] =" "error": {" Line[6] =" "message": "Invalid content type. image_url is only supported by certain models."," Match[***]= --------------------------------------+++++------------------------------------------- Line[7] =" "type": "invalid_request_error"," Line[8] =" "param": "messages.[1].content.[1].type"," Line[9] =" "code": null" Line[1***] =" }" Line[11] ="}" expected:<image exceeds> but was:<Error from client: OpenAILLMClient Error from client: OpenAILLMClient Status code: 4*** Error body: { "error": { "message": "Invalid content type. image_url is only supported by certain models.", "type": "invalid_request_error", "param": "messages.[1].content.[1].type", "code": null } } >
MultipleLLMPromptExecutorIntegrationTest.[6] BASIC_JPG, LLModel(provider=OpenAI, id=gpt-5.2, capabilities=[Completion, Temperature, Basic, Standard, Speculation, Tools, ToolChoice, Image, Document, MultipleChoices, Completions, Responses], contextLength=400000, maxOutputTokens=128000)[jvm]: integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/executor/MultipleLLMPromptExecutorIntegrationTest.kt#L89
ai.koog.prompt.executor.clients.LLMClientException: Error from client: OpenAILLMClient Error from client: OpenAILLMClient Status code: 4*** Error body: { "error": { "message": "Invalid content type. image_url is only supported by certain models.", "type": "invalid_request_error", "param": "messages.[1].content.[1].type", "code": null } }
multiple-llm-executor-tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
reports-ubuntu-latest-agent-tests
325 KB
sha256:ec8376557d9806b7a796c52b3b04567a5bbb5052c179967930538ac046f9d9ec
reports-ubuntu-latest-anthropic-schema-test
287 KB
sha256:92e9ae31efb8fb44e649a4f192da2702fd1731b4efdaa1747b6fff234462e7c5
reports-ubuntu-latest-bedrock-credentials-test
284 KB
sha256:bfe901af361e04f43876359da1582e4061440ca24fcb7ef8ae727d7b14528742
reports-ubuntu-latest-bedrock-tests
284 KB
sha256:adae528055b5b2b45073c67fbc78a1e6ef1d1cd47836e399b908baff4e3ca79a
reports-ubuntu-latest-capabilities-tests
295 KB
sha256:aeaa49700a1955269c12c967e9c3c54bbe875baab2397bb2cdd51d669b5d8255
reports-ubuntu-latest-embeddings-test
284 KB
sha256:92c5e9b6f2b6de1edeff06268e0109413e1077c178dd59a6b780a9214bd288a0
reports-ubuntu-latest-multiple-llm-executor-tests
308 KB
sha256:b9e27bab84910ad58ce919a253102612b3f4dfcfcf79fc4bf9282006d5fa50e4
reports-ubuntu-latest-other-executor-tests
284 KB
sha256:1517b4f59c9ede2e9ee795a9b51a14926578895c36313270f6499979641d7a56
reports-ubuntu-latest-single-llm-executor-tests
308 KB
sha256:476e72d8618f362267f273244311f340e972c33909d004eb0f5f23e44a37d0c6