Skip to content

Image input doesn't work for AoAI model #3700

Closed

Description

@dongrongyu

What version of Codex is running?

0.31.0

Which model were you using?

gpt-5,o4-mini

What platform is your computer?

Linux 5.15.146.1

What steps can reproduce the bug?

Config.toml

model_provider = "azure"
provider = "azure"
model = "gpt-5"
approvalMode="full-auto"
fullAutoErrorMode="ignore-and-continue"
approval_policy ="never"
sandbox_mode="danger-full-access"

[model_providers.azure]
name = "AzureOpenAI"
base_url = "https://xxxxxxx.cognitiveservices.azure.com/openai/deployments/gpt-5"
env_key = "AOAI_API_KEY"
query_params = { api-version = "2025-04-01-preview" }

Command

Codex -i text-image.png "summarize the image content"

What is the expected behavior?

Official doc example:

Image

What do you see instead?

The codex isn't aware of the input image. Is this related to aoai provider model?

Image Image Image

Additional information

No response

Activity

  1. added
    bug
    on Sep 16, 2025
  2. added
    azure
    on Nov 9, 2025
  3. etraut-openai commented on Nov 26, 2025

    @etraut-openai
    Contributor

    Are you still seeing this issue? The AoAI team has implemented a number of fixes since this bug was filed, and I suspect that it's no longer a problem. I'm going to close, but if you're still seeing this, let us know and I'll reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    azurebug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions