Agent wrote to me in Chinese out of no where!

Here’s proof.
Can anyone explain this?

1 Like

I KNEW IT! Cat is out of the bag now fellas! :rofl:

2 Likes

I guess agent is building on deepseek?

2 Likes

Haha that’s wild can you post a link to the repl where that happened so I can look at the trace? Never seen that before. Couple of our engineers tested deepseek but the code quality is significantly worse vs even claude 3.5 and didn’t pass the agent vibes test

1 Like

Hi sure, can you send me a dm? don’t want to share that url in public :sweat_smile:

1 Like

That’s what I thought.

Hey, we found the culprit! We noticed this happen again today after we put an alert when you first reported this.

In one of our instructions for a sub-agent task we had this “Always respond in the same language as the user’s message (Chinese, Japanese, etc.)”, which prompted Claude 3.7 sonnet to (extremely infrequently, but we just replicated it) switch to responding in Chinese . We added “English” as the first in that list now (which may potentially have the reverse issue of having it switch back to English if it’s using another language haha).
image

2 Likes

Pesky system prompts, you just never know!

1 Like