Hello ! I have created a assistant plug with a dust app connected to my API with curl method. the curl call works fine when I run the test version in app but when I ask a question to this assistant I have an error. Is there a way to check if the correct API has been called with the correct parameter ? Or is there another way to be sure I've correctly plug my app to the agent ? Thank you for your answer 🙂
Hey Camille Saillard When did you run those test? Because Anthropic API was down today
Few minutes ago
At the Claude level, this is a sign that it was called without any user message. e.g. you get the same error outside Dust using (note empty message list):
res = await anthropic_client.messages.create(
model="claude-3-5-sonnet-latest",
max_tokens=8000,
messages=list(),
)
Need to figure out why Dust ends up making a call like this.
Hello yutcam (Dust) or Alban, by changing model I figured out to chat with my agent and verified my API connection. I was able to asked few questions. But now it doesn't work anymore even if I ask the same question as previously. Do you know how can I have information on how to solve this issue ? Or where does it come ? Thank you !
Hi Camille Saillard for the first screenshot: please try with another model than mistral, mistral often behaves weirdly For the second one: it simply says that the URL you're trying to reach does not exist
Can we see a full screenshot of your dust app?
Hello Alban thanks for your answer, yes i figured it out that the agent was building the url from the instruction without necessary '/' . that's why. By changing modele to GPT 4 I can reach my data, but the agent is not able for now to build data analysis, I don't know why. I am gonna try to improve my instructions.