Skip to content

Fireworks exception with images #2424

@vadim-su

Description

@vadim-su

Question

I have the next code:

agent_resp = await content_agent.run(
  [
      chunk.content,
      *(ImageUrl(image) for image in chunk.images),
  ],
)

and it returns

"status_code":400,
"model_name":accounts/fireworks/models/kimi-k2-instruct,
"body":{
   "object":"error",
   "type":"invalid_request_error",
   "code":"invalid_request_error",
   "message":"Cannot preprocess image len(combined_imgs) = 1,
len(image_ranges) = 0, please provide valid images"
}

Is it my mistake or what?

Additional Context

No response

Metadata

Metadata

Assignees

Labels

StalequestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions