julep icon indicating copy to clipboard operation
julep copied to clipboard

[Bug]: Messages inside `prompt` step accept arbitrary keys

Open HamadaSalhab opened this issue 9 months ago • 0 comments
trafficstars

📜 Description

For example, the following task gets created without any errors:

name: prompt-message-keys-issue

main:
- prompt:
    - role: user
      content: "Hello"
      settings:
        model: "claude-3.5-sonnet"

However, it shouldn't be accepted, as passing settings here wouldn't (and shouldn't) make any effect. Here's its syntactically correct counterpart:

name: prompt-message-keys-issue

main:
- prompt:
    - role: user
      content: "Hello"
  settings:
    model: "claude-3.5-sonnet"

👟 Reproduction steps

No response

👀 Have you searched previous issues to see if this has been raised before?

  • [x] I checked and didn't find similar issue

HamadaSalhab avatar Feb 20 '25 16:02 HamadaSalhab