Skip to content

Images are silently dropped from chat completions. #132

Description

@0xThiebaut

On the latest version (v1.7.15) for iOS, images are not submitted when attached from the Photo Library or from the Camera itself. While the behavior seems similar to #74, neither Photo Library nor Camera images seemed to work.

Files (e.g., PDF) attached through the Documents option seem to work. I was unable to test image files as these are grayed out from the Documents selection.

Request trace:

POST /chat/completions HTTP/1.1
Connection: close
Host: REDACTED
X-Real-IP: REDACTED
X-Forwarded-For: REDACTED
X-Forwarded-Proto: https
Content-Length: 590
Content-Type: application/json
User-Agent: openclient-llm/117 CFNetwork/3896.100.1.2.1 Darwin/27.0.0
Accept: */*
Accept-Language: en-GB,en;q=0.9
Accept-Encoding: gzip, deflate, br
Authorization: Bearer REDACTED

{"messages":[{"content":"Describe this image.\n\nThe following image attachments are not directly available to this model and have not been analyzed yet in this message. If analyze_images is available in the current tool definitions, it can analyze these image IDs. Otherwise, explain that you cannot inspect the images directly. Do not infer visual contents from these references; use actual analysis results when present.\n{\"image_attachment_ids\":[\"8307FA05-138D-4BDE-AE7F-9C676133F302\"]}","role":"user"}],"model":"OpenAI Family","stream_options":{"include_usage":true},"stream":true}

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions