Skip to content

[BUG] Anthropic [object Object] #3285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
takefy-dev opened this issue Sep 30, 2024 · 10 comments
Closed

[BUG] Anthropic [object Object] #3285

takefy-dev opened this issue Sep 30, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@takefy-dev
Copy link

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
Copy link
Author

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."}"}

@HenryHengZJ
Copy link
Contributor

are you using chatflow/agentflow?

works on chatflow:
image

@HenryHengZJ HenryHengZJ added the bug Something isn't working label Oct 2, 2024
@takefy-dev
Copy link
Author

agent flow always

@takefy-dev
Copy link
Author

any fix please it's urgent?

@takefy-dev
Copy link
Author

news?

@HenryHengZJ
Copy link
Contributor

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?

@lucasilvano1
Copy link

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...

@bufibufon
Copy link

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

image

@bufibufon
Copy link

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

@HenryHengZJ
Copy link
Contributor

fix here: #3801

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants