Dust Community Icon

Error Running Dust App Agent: Invalid Request with Anthropics API

Β·
Β·

Hello πŸ™‚ I'm trying to run an agent that uses a Dust App (nothing fancy, a simple input/curl/output) but I'm faced with this error message:

ERROR: Error running agent: Error querying `anthropic:claude-3-5-sonnet-20241022`: error=[model_error(retryable=, request_id=req_011CNTb46CK72RMy8BPvXJeufalse)] AnthropicError: [invalid_request_error] messages: at least one message is required (code: multi_actions_error)

  • Avatar of David Ebbo
    David Ebbo
    Β·
    Β·

    If you look at your App's logs, and choose 'API' (as opposed to Design), is your App even getting called when that happens? And if it is, is it doing what you expect based on the logs?

  • Avatar of Luc Lagrange
    Luc Lagrange
    Β·
    Β·

    I see the run succeding, with both outputs populated with data πŸ˜•

  • Avatar of Luc Lagrange
    Luc Lagrange
    Β·
    Β·

    Yet, I have this error when calling the agent

  • Avatar of David Ebbo
    David Ebbo
    Β·
    Β·

    Last time someone saw that, it was possibly a Claude issue. See https://dustcommunity.slack.com/archives/C06SHT0F20G/p1738640347688349 But not sure if that's what's going on here. Will need a Dust expert! πŸ˜…

  • Avatar of Luc Lagrange
    Luc Lagrange
    Β·
    Β·

    Remi If you can take a look πŸ™

  • Avatar of Remi
    Remi
    Β·
    Β·

    Luc Lagrange can you try using GPT4?

  • Avatar of Luc Lagrange
    Luc Lagrange
    Β·
    Β·

    Works fine with GPT4 πŸ™‚

  • Avatar of Remi
    Remi
    Β·
    Β·

    great ! let's use gpt4 for now, I'll forward the thread to the team just in case the problem is on dust's side and not on anthropic's side πŸ‘Œ

  • Avatar of Luc Lagrange
    Luc Lagrange
    Β·
    Β·

    Alright, thank you! πŸ˜„