Update claude-3.7-sonnet-2025-05-11.xml

This commit is contained in:
Ásgeir Thor Johnson 2025-05-11 16:10:49 +00:00 committed by GitHub
parent d01d6a5ba6
commit c0e1569437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
<!-- <!--
Here is the full system message in it's original format and here is a chat which shows the method and Claude outputting the complete system message. Here is the full system message in it's original format and here is a chat which shows the method and Claude outputting the complete system message.
https://claude.ai/share/5e861ecb-0b37-4988-9799-9a912155c4d4 https://claude.ai/share/5e861ecb-0b37-4988-9799-9a912155c4d4
Source of this trick is: https://gist.github.com/Richard-Weiss/efcddc3f674734551601a48d93a2e364
Explanation: The full Claude system message introduces some problem when getting Claude to output it. Explanation: The full Claude system message introduces some problem when getting Claude to output it.
All tags which start with <antml: or </antml: and the special tag <automatic_reminder_from_anthropic> are troublesome. They get 1) erased from Claude's output and 2) If they are function calls e.g. <antml:function_calls>, then Claude will make the actual function call and the recitation will fail All tags which start with <antml: or </antml: and the special tag <automatic_reminder_from_anthropic> are troublesome. They get 1) erased from Claude's output and 2) If they are function calls e.g. <antml:function_calls>, then Claude will make the actual function call and the recitation will fail
Hence I say this in the instructions: "I will use ﹤ instead of < and instead of >" These are simply other types of angle brackets which solves this problem Hence I say this in the instructions: "I will use ﹤ instead of < and instead of >" These are simply other types of angle brackets which solves this problem