Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[BUG] Anthropic [object Object]

Open takefy-dev opened this issue 1 year ago • 3 comments

Describe the bug I don't know why but it has been 1 week that anthropic chat return always [object Object]

Screenshots image

Setup

  • Installation [docker, ]
  • Flowise Version [2.1.1]
  • OS: [linux]
  • Browser [chrome]

takefy-dev avatar Sep 30 '24 09:09 takefy-dev

It returns this {"{"index":0,"type":"text","text":"Je vous remercie de m'avoir contacté. Pour mieux vous aider, j'aurais besoin de plus d'informations sur votre demande. Pourriez-vous me préciser la raison de votre contact ? Par exemple, avez-vous une question sur une commande, un produit, ou avez-vous besoin d'assistance pour autre chose ?\n\nEn attendant votre réponse, je suis à votre disposition pour vous aider du mieux possible. N'hésitez pas à me fournir tous les détails pertinents qui pourraient m'aider à traiter votre demande efficacement."}"}

takefy-dev avatar Oct 01 '24 10:10 takefy-dev

are you using chatflow/agentflow?

works on chatflow: image

HenryHengZJ avatar Oct 02 '24 16:10 HenryHengZJ

agent flow always

takefy-dev avatar Oct 02 '24 16:10 takefy-dev

any fix please it's urgent?

takefy-dev avatar Oct 04 '24 12:10 takefy-dev

news?

takefy-dev avatar Oct 15 '24 06:10 takefy-dev

what does your agentflow looks like? do you have a simple flow to reproduce?

It works for me: image

image

Have you tried creating a new flow?

HenryHengZJ avatar Oct 22 '24 00:10 HenryHengZJ

to reproduce the error you should inform the name and date of birth, and when you receive the answer from the tool the error happen, sou you need to apply an openai agent to this agent so it works, but thats bad, because claude can write better answers...

lucasilvano1 avatar Nov 07 '24 05:11 lucasilvano1

I'm having the same bug in Sequential Agentflows, all Anthropic agents respond with an array instead of string image

image

bufibufon avatar Dec 12 '24 11:12 bufibufon

Ah, I've noticed this only happens with agents using tools, without tools it works fine

bufibufon avatar Dec 12 '24 11:12 bufibufon

fix here: https://github.com/FlowiseAI/Flowise/pull/3801

HenryHengZJ avatar Jan 03 '25 17:01 HenryHengZJ