No result displayed when using kimi-k2 model

Resolved 💬 1 comment Opened Aug 10, 2025 by caibirdme Closed Nov 27, 2025

What version of Codex is running?

0.20.0

Which model were you using?

kimi-k2

What platform is your computer?

linux

What steps can reproduce the bug?

I ask the codex to explain entrypoint.sh, and I saw it cat that file, but it didn't show anything on screen and it's my turn to continue inputing.

<img width="448" height="266" alt="Image" src="https://github.com/user-attachments/assets/351570c7-737d-477d-bc19-9e130f9b0713" />

I saw the session file, in which there contained the llm reply that I need, but codex didn't show this output_text on screen. Then I asked it to show the result, from the session log, it did get the response, but didn't show it to me

{"type":"message","id":null,"role":"assistant","content":[{"type":"output_text","text":"**Entrypoint Overview**\n\nThis is a Docker entrypoint script that provides a dual-purpose interface for a CI/CD worker container.\n\n**Key Components**\n\n- **YAML Merge Function**: `merge_yaml()` combines multiple YAML files using `yq`\n- **Command Router**: Uses `PLUGIN_CMD` environment variable to determine behavior\n- **Fallback Handler**: Delegates unknown commands to the main Go application\n\n**Environment Variables**\n\n- `PLUGIN_CMD`: Controls which action to take (`MERGE_YAML` or other)\n- `PLUGIN_OUTPUT`: Output file path for merged YAML (required for MERGE_YAML)\n- `PLUGIN_GLOB`: File pattern for YAML files to merge (required for MERGE_YAML)\n\n**Execution Flow**\n\n1. **MERGE_YAML command**: Runs the YAML merge function\n2. **Any other command**: Passes through to `/app/camp-ci-worker` (the main Go binary)\n\nThe script acts as a lightweight wrapper that either performs YAML file merging or delegates to the core application logic."}]}
{"record_type":"state"}
{"type":"message","id":null,"role":"user","content":[{"type":"input_text","text":"show the result"}]}
{"record_type":"state"}
{"record_type":"state"}
{"type":"message","id":null,"role":"assistant","content":[{"type":"output_text","text":"The script I showed you *is* the complete entrypoint.sh file - that's the entire content. There are no additional results to display.\n\nThe file contains:\n- A bash shebang (`#!/bin/bash`)\n- The `merge_yaml()` function for combining YAML files\n- A case statement that routes commands based on `PLUGIN_CMD`\n- Either runs the merge function or delegates to `/app/camp-ci-worker`\n\nThat's all there is to it - a simple 30-line entrypoint script."}]}

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗