Skip to content

[BUG] mis-order of strutured_output_span #691

@chengweitsai

Description

@chengweitsai

I think the order does matter, to align what actually sent to model.structured_output. System_prompt will be put at the front of input_messages

formatted_messages = [{"role": "system", "content": system_prompt}] if system_prompt else []

Originally posted by @chengweitsai in #655 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions