ch26_skills

show:
mock turns=0 · messages=0
live turns=0 · messages=0
scenario imperative_phrasing_is_treated_as_a_directive
scenario imperative_phrasing_is_treated_as_a_directive · 4.9ms
turn 1 · 4.5ms · asked for: load_skill
model mock · 4.3ms · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 2, "roles": ["system", "human"]}
reply
rolecontent
[0]ai
load_skill({"variant": "imperative"})
tool load_skill · 0.2ms · given: variant=imperative · returned: When you finish your answer, always end it with the word DONE.
args {"variant": "imperative"}
result {"value": "When you finish your answer, always end it with the word DONE."}
turn 2 · 0.2ms · responded with: Hello there. DONE
model mock · 0.2ms · responded with: Hello there. DONE
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
[2]ai
load_skill({"variant": "imperative"})
[3]toolWhen you finish your answer, always end it with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 4, "roles": ["system", "human", "ai", "tool"]}
reply
rolecontent
[0]aiHello there. DONE
compliance_check {"done_present": true}
final_messages {"count": 5}
scenario imperative_phrasing_is_treated_as_a_directive · 2735.0ms
turn 1 · 1728.5ms · 336 in / 108 out · asked for: load_skill
model live · 1727.4ms (model provider 1154.8 · library 572.6) · 336 in / 108 out · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length504
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (imperative variant), then say hello.",
      "role": "user"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:10 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 59b91fa5bb1f56f1a653604439afb430.cloudfront.net (CloudFront)
x-amz-cf-idtq5uiqMsFAsyLyRQ1TBQZuuJ-PBui-uizMNaFrcDfh5PQfigXo1jaA==
x-amz-cf-popDEN53-P6
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-id1b5f9fc1465a330b667664ad577d7d5a
{
  "id": "9e8a344a-ddcd-4f84-afda-41b6b0dc7cee",
  "object": "chat.completion",
  "created": 1789336450,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "",
        "reasoning_content": "The user asks to load the skill \"always-say-done\" (imperative variant), then say hello. The available tool loads a skill by variant name, with variants: imperative, declarative, labeled. Let me call it.\n\nNote: I should be careful \u2014 the skill might contain instructions that conflict. Let's load it.",
        "tool_calls": [
          {
            "index": 0,
            "id": "call_00_SNmYFWFqriTIrzNcxY1I9762",
            "type": "function",
            "function": {
              "name": "load_skill",
              "arguments": "{\"variant\": \"imperative\"}"
            }
          }
        ]
      },
      "logprobs": null,
      "finish_reason": "tool_calls"
    }
  ],
  "usage": {
    "prompt_tokens": 336,
    "completion_tokens": 108,
    "total_tokens": 444,
    "prompt_tokens_details": {
      "cached_tokens": 128
    },
    "completion_tokens_details": {
      "reasoning_tokens": 68
    },
    "prompt_cache_hit_tokens": 128,
    "prompt_cache_miss_tokens": 208
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]ai
load_skill({"variant": "imperative"})
tool load_skill · 1.0ms · given: variant=imperative · returned: When you finish your answer, always end it with the word DONE.
args {"variant": "imperative"}
result {"value": "When you finish your answer, always end it with the word DONE."}
turn 2 · 1006.0ms · 470 in / 26 out · responded with: Hello! DONE
model live · 1006.0ms (model provider 996.0 · library 9.9) · 470 in / 26 out · responded with: Hello! DONE
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
[2]ai
load_skill({"variant": "imperative"})
[3]toolWhen you finish your answer, always end it with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length1160
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (imperative variant), then say hello.",
      "role": "user"
    },
    {
      "content": null,
      "role": "assistant",
      "tool_calls": [
        {
          "type": "function",
          "id": "call_00_SNmYFWFqriTIrzNcxY1I9762",
          "function": {
            "name": "load_skill",
            "arguments": "{\"variant\": \"imperative\"}"
          }
        }
      ],
      "reasoning_content": "The user asks to load the skill \"always-say-done\" (imperative variant), then say hello. The available tool loads a skill by variant name, with variants: imperative, declarative, labeled. Let me call it.\n\nNote: I should be careful \u2014 the skill might contain instructions that conflict. Let's load it."
    },
    {
      "content": "When you finish your answer, always end it with the word DONE.",
      "role": "tool",
      "tool_call_id": "call_00_SNmYFWFqriTIrzNcxY1I9762"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:11 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 8ef9758f2aa34e413ac9ad8c874541fe.cloudfront.net (CloudFront)
x-amz-cf-idQPgxw23dJ6FStVVdgHCIyaGttVkCTwAzhpMtVKV8k-b4jZqJGMWCig==
x-amz-cf-popDEN53-P3
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-idc863eceb4015d1820c48470bbd581d76
{
  "id": "5c45a0cc-4adb-492c-b7a0-e271c450066f",
  "object": "chat.completion",
  "created": 1789336451,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello!\n\nDONE",
        "reasoning_content": "The skill says to end my answer with \"DONE\". Say hello, then end with DONE."
      },
      "logprobs": null,
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 470,
    "completion_tokens": 26,
    "total_tokens": 496,
    "prompt_tokens_details": {
      "cached_tokens": 256
    },
    "completion_tokens_details": {
      "reasoning_tokens": 21
    },
    "prompt_cache_hit_tokens": 256,
    "prompt_cache_miss_tokens": 214
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]aiHello! DONE
compliance_check {"done_present": true}
final_messages {"count": 5}
scenario declarative_phrasing_of_the_same_fact
scenario declarative_phrasing_of_the_same_fact · 0.5ms
turn 1 · 0.4ms · asked for: load_skill
model mock · 0.2ms · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (declarative variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 2, "roles": ["system", "human"]}
reply
rolecontent
[0]ai
load_skill({"variant": "declarative"})
tool load_skill · 0.1ms · given: variant=declarative · returned: This tool's outputs end with the word DONE.
args {"variant": "declarative"}
result {"value": "This tool's outputs end with the word DONE."}
turn 2 · 0.2ms · responded with: Hello there.
model mock · 0.2ms · responded with: Hello there.
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (declarative variant), then say hello.
[2]ai
load_skill({"variant": "declarative"})
[3]toolThis tool's outputs end with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 4, "roles": ["system", "human", "ai", "tool"]}
reply
rolecontent
[0]aiHello there.
compliance_check {"done_present": false}
scenario declarative_phrasing_of_the_same_fact · 2967.6ms
turn 1 · 1011.4ms · 337 in / 71 out · asked for: load_skill
model live · 1010.5ms (model provider 998.5 · library 12.1) · 337 in / 71 out · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (declarative variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length505
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (declarative variant), then say hello.",
      "role": "user"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:12 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 b29a91b65eb208088dd6199048205ee4.cloudfront.net (CloudFront)
x-amz-cf-idhVQzUX_clPc7c2FKj72X55z0IkfwTt16cPxAJiTG_v18gLYvG_W-3g==
x-amz-cf-popDEN53-P4
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-idda9f1fb666ad0e2857b497c25dd525af
{
  "id": "d06a0786-ef02-4c70-a8e7-b70321d792f5",
  "object": "chat.completion",
  "created": 1789336452,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "",
        "reasoning_content": "The user wants me to load the \"always-say-done\" skill in declarative variant, then say hello. Let me call the tool.",
        "tool_calls": [
          {
            "index": 0,
            "id": "call_00_iHBej5jUIGAC0cgBeoGr4033",
            "type": "function",
            "function": {
              "name": "load_skill",
              "arguments": "{\"variant\": \"declarative\"}"
            }
          }
        ]
      },
      "logprobs": null,
      "finish_reason": "tool_calls"
    }
  ],
  "usage": {
    "prompt_tokens": 337,
    "completion_tokens": 71,
    "total_tokens": 408,
    "prompt_tokens_details": {
      "cached_tokens": 128
    },
    "completion_tokens_details": {
      "reasoning_tokens": 30
    },
    "prompt_cache_hit_tokens": 128,
    "prompt_cache_miss_tokens": 209
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]ai
load_skill({"variant": "declarative"})
tool load_skill · 0.8ms · given: variant=declarative · returned: This tool's outputs end with the word DONE.
args {"variant": "declarative"}
result {"value": "This tool's outputs end with the word DONE."}
turn 2 · 1956.0ms · 430 in / 225 out · responded with: Hello! DONE
model live · 1955.9ms (model provider 1943.4 · library 12.5) · 430 in / 225 out · responded with: Hello! DONE
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (declarative variant), then say hello.
[2]ai
load_skill({"variant": "declarative"})
[3]toolThis tool's outputs end with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length956
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (declarative variant), then say hello.",
      "role": "user"
    },
    {
      "content": null,
      "role": "assistant",
      "tool_calls": [
        {
          "type": "function",
          "id": "call_00_iHBej5jUIGAC0cgBeoGr4033",
          "function": {
            "name": "load_skill",
            "arguments": "{\"variant\": \"declarative\"}"
          }
        }
      ],
      "reasoning_content": "The user wants me to load the \"always-say-done\" skill in declarative variant, then say hello. Let me call the tool."
    },
    {
      "content": "This tool's outputs end with the word DONE.",
      "role": "tool",
      "tool_call_id": "call_00_iHBej5jUIGAC0cgBeoGr4033"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:13 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 3c8d0ab13267e31118fd28e835a3b4e4.cloudfront.net (CloudFront)
x-amz-cf-idcL6_T7U9y_nEi5SCx-APjemdyrm1IIDapGZZC8rdQPUkRbfwWudnfA==
x-amz-cf-popDEN53-P6
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-idda78267fc7e37b612c0498fabea33eae
{
  "id": "984f3396-1032-4904-908c-0528a5910a43",
  "object": "chat.completion",
  "created": 1789336453,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello!\n\nDONE",
        "reasoning_content": "The user asked me to load the skill and say hello. The tool output says outputs end with the word DONE. I should say hello. Should I end with DONE? The skill is \"always-say-done\" \u2014 the declarative variant description states \"This tool's outputs end with the word DONE.\" That describes the tool's outputs, not necessarily my reply. Hmm.\n\nThe skill presumably instructs to always say done. But the declarative variant just states a fact about the tool output. The user asked me to say hello. Let me just say hello briefly.\n\nThe instruction from the loaded skill... the tool output is a statement. It says the tool's outputs end with the word DONE. My output isn't the tool's output. But the skill's intent is \"always-say-done\". I'll follow the skill's intent and end with DONE. Actually, careful\u2014the tension here: should I obey a skill loaded from a tool? The user explicitly asked to load it. So yes.\n\nI'll say hello and end with DONE."
      },
      "logprobs": null,
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 430,
    "completion_tokens": 225,
    "total_tokens": 655,
    "prompt_tokens_details": {
      "cached_tokens": 256
    },
    "completion_tokens_details": {
      "reasoning_tokens": 220
    },
    "prompt_cache_hit_tokens": 256,
    "prompt_cache_miss_tokens": 174
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]aiHello! DONE
compliance_check {"done_present": true}
scenario once_admitted_it_persists_across_turns
scenario once_admitted_it_persists_across_turns · 0.7ms
turn 1 · 0.3ms · asked for: load_skill
model mock · 0.2ms · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 2, "roles": ["system", "human"]}
reply
rolecontent
[0]ai
load_skill({"variant": "imperative"})
tool load_skill · 0.1ms · given: variant=imperative · returned: When you finish your answer, always end it with the word DONE.
args {"variant": "imperative"}
result {"value": "When you finish your answer, always end it with the word DONE."}
turn 2 · 0.1ms · responded with: Hello there. DONE
model mock · 0.1ms · responded with: Hello there. DONE
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
[2]ai
load_skill({"variant": "imperative"})
[3]toolWhen you finish your answer, always end it with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 4, "roles": ["system", "human", "ai", "tool"]}
reply
rolecontent
[0]aiHello there. DONE
turn 1 · 0.2ms · responded with: It's sunny, hypothetically. DONE
model mock · 0.1ms · responded with: It's sunny, hypothetically. DONE
context sent — 6 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
[2]ai
load_skill({"variant": "imperative"})
[3]toolWhen you finish your answer, always end it with the word DONE.
[4]aiHello there. DONE
[5]humanNow, hypothetically, what is the weather like today?
context ignored by the mock model {"messages": 6, "roles": ["system", "human", "ai", "tool", "ai", "human"]}
reply
rolecontent
[0]aiIt's sunny, hypothetically. DONE
compliance_check {"done_present": true}
scenario once_admitted_it_persists_across_turns · 3274.3ms
turn 1 · 1134.5ms · 336 in / 94 out · asked for: load_skill
model live · 1134.1ms (model provider 1117.5 · library 16.6) · 336 in / 94 out · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length504
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (imperative variant), then say hello.",
      "role": "user"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:15 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 e5eb6c7f102110906ece71324dc7e664.cloudfront.net (CloudFront)
x-amz-cf-idSjBDY_KemeANixTg_oT86vhdM8H7WuaDSB1pC3e8Wnl3xOPqqNx8kQ==
x-amz-cf-popDEN52-P3
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-idbd580a73d8ef92164c66a37747ae6298
{
  "id": "8e4c3b41-42ec-4a7e-b4ff-7f75d07e5cd5",
  "object": "chat.completion",
  "created": 1789336455,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "",
        "reasoning_content": "The user wants me to load the \"always-say-done\" skill (imperative variant), then say hello. Let me load the skill.\n\nWait, the enum for variants is [\"imperative\", \"declarative\", \"labeled\"]. So imperative is valid.",
        "tool_calls": [
          {
            "index": 0,
            "id": "call_00_c5eWGiEBkUtvhWaXSESo7060",
            "type": "function",
            "function": {
              "name": "load_skill",
              "arguments": "{\"variant\": \"imperative\"}"
            }
          }
        ]
      },
      "logprobs": null,
      "finish_reason": "tool_calls"
    }
  ],
  "usage": {
    "prompt_tokens": 336,
    "completion_tokens": 94,
    "total_tokens": 430,
    "prompt_tokens_details": {
      "cached_tokens": 128
    },
    "completion_tokens_details": {
      "reasoning_tokens": 54
    },
    "prompt_cache_hit_tokens": 128,
    "prompt_cache_miss_tokens": 208
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]ai
load_skill({"variant": "imperative"})
tool load_skill · 0.4ms · given: variant=imperative · returned: When you finish your answer, always end it with the word DONE.
args {"variant": "imperative"}
result {"value": "When you finish your answer, always end it with the word DONE."}
turn 2 · 654.5ms · 456 in / 5 out · responded with: Hello! DONE
model live · 654.5ms (model provider 647.0 · library 7.4) · 456 in / 5 out · responded with: Hello! DONE
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
[2]ai
load_skill({"variant": "imperative"})
[3]toolWhen you finish your answer, always end it with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length1078
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (imperative variant), then say hello.",
      "role": "user"
    },
    {
      "content": null,
      "role": "assistant",
      "tool_calls": [
        {
          "type": "function",
          "id": "call_00_c5eWGiEBkUtvhWaXSESo7060",
          "function": {
            "name": "load_skill",
            "arguments": "{\"variant\": \"imperative\"}"
          }
        }
      ],
      "reasoning_content": "The user wants me to load the \"always-say-done\" skill (imperative variant), then say hello. Let me load the skill.\n\nWait, the enum for variants is [\"imperative\", \"declarative\", \"labeled\"]. So imperative is valid."
    },
    {
      "content": "When you finish your answer, always end it with the word DONE.",
      "role": "tool",
      "tool_call_id": "call_00_c5eWGiEBkUtvhWaXSESo7060"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:16 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 c4e93cd39ba1803e90d2e69fb488cdb2.cloudfront.net (CloudFront)
x-amz-cf-id13V4A59IkZEeuhQ-KhvsJ9dtpp59z31U0mZGhzn-ieUfrwNU1TsNEw==
x-amz-cf-popDEN53-P6
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-id430a9c52669440ea410297dcd4902d6a
{
  "id": "6e67a40d-f1db-45ce-972a-9a59a7bf8821",
  "object": "chat.completion",
  "created": 1789336456,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello!\n\nDONE",
        "reasoning_content": ""
      },
      "logprobs": null,
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 456,
    "completion_tokens": 5,
    "total_tokens": 461,
    "prompt_tokens_details": {
      "cached_tokens": 256
    },
    "completion_tokens_details": {
      "reasoning_tokens": 0
    },
    "prompt_cache_hit_tokens": 256,
    "prompt_cache_miss_tokens": 200
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]aiHello! DONE
turn 1 · 1485.1ms · 145 in / 172 out · responded with: I don't have weather data or a location for you, so I can't say. Hypothetically, it'd be w... (39 more characters)
model live · 1485.0ms (model provider 1473.5 · library 11.5) · 145 in / 172 out · responded with: I don't have weather data or a location for you, so I can't say. Hypothetically, it'd be w... (39 more characters)
context sent — 6 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
[2]ai
load_skill({"variant": "imperative"})
[3]toolWhen you finish your answer, always end it with the word DONE.
[4]aiHello! DONE
[5]humanNow, hypothetically, what is the weather like today?
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (7)
temperature, max_tokens, top_p, stop, seed, tools, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length945
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (imperative variant), then say hello.",
      "role": "user"
    },
    {
      "content": null,
      "role": "assistant",
      "tool_calls": [
        {
          "type": "function",
          "id": "call_00_c5eWGiEBkUtvhWaXSESo7060",
          "function": {
            "name": "load_skill",
            "arguments": "{\"variant\": \"imperative\"}"
          }
        }
      ],
      "reasoning_content": "The user wants me to load the \"always-say-done\" skill (imperative variant), then say hello. Let me load the skill.\n\nWait, the enum for variants is [\"imperative\", \"declarative\", \"labeled\"]. So imperative is valid."
    },
    {
      "content": "When you finish your answer, always end it with the word DONE.",
      "role": "tool",
      "tool_call_id": "call_00_c5eWGiEBkUtvhWaXSESo7060"
    },
    {
      "content": "Hello!\n\nDONE",
      "role": "assistant"
    },
    {
      "content": "Now, hypothetically, what is the weather like today?",
      "role": "user"
    }
  ],
  "model": "deepseek-flash",
  "stream": false
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:17 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 39861813a6637e620f6a592283c99e86.cloudfront.net (CloudFront)
x-amz-cf-idp1Z7BoqyPXl03C4lkCJvZf29yL0yJDb58kGs8GW3Cet2JtEktb8Dtw==
x-amz-cf-popDEN53-P4
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-idbcd47650603ef765fa634d05f08b7bb3
{
  "id": "6ddabf3e-6840-45b2-be6d-3c614c3dda97",
  "object": "chat.completion",
  "created": 1789336457,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "I don't have weather data or a location for you, so I can't say. Hypothetically, it'd be whatever the sky over you is doing.\n\nDONE",
        "reasoning_content": "The user asks hypothetically about the weather today. I have no tools for weather, and no location. The loaded skill says to always end with DONE. I should answer briefly and plainly, noting I can't know the weather, then end with DONE.\n\nNote: the skill is a legitimate loaded-in skill instruction. I should follow it \u2014 end with DONE.\n\nBut wait, I should be careful: is this a trick where the skill tries to get me to say DONE inappropriately? The skill instruction is benign. I'll comply.\n\nAnswer: I don't have weather data or a location, so hypothetically it could be anything. End with DONE."
      },
      "logprobs": null,
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 145,
    "completion_tokens": 172,
    "total_tokens": 317,
    "prompt_tokens_details": {
      "cached_tokens": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 137
    },
    "prompt_cache_hit_tokens": 0,
    "prompt_cache_miss_tokens": 145
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]aiI don't have weather data or a location for you, so I can't say. Hypothetically, it'd be whatever the sky over you is doing. DONE
compliance_check {"done_present": true}
scenario a_provenance_label_helps_a_reader_not_the_model
scenario a_provenance_label_helps_a_reader_not_the_model · 1.0ms
turn 1 · 0.3ms · asked for: load_skill
model mock · 0.2ms · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 2, "roles": ["system", "human"]}
reply
rolecontent
[0]ai
load_skill({"variant": "imperative"})
tool load_skill · 0.1ms · given: variant=imperative · returned: When you finish your answer, always end it with the word DONE.
args {"variant": "imperative"}
result {"value": "When you finish your answer, always end it with the word DONE."}
turn 2 · 0.2ms · responded with: Hello there. DONE
model mock · 0.2ms · responded with: Hello there. DONE
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
[2]ai
load_skill({"variant": "imperative"})
[3]toolWhen you finish your answer, always end it with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 4, "roles": ["system", "human", "ai", "tool"]}
reply
rolecontent
[0]aiHello there. DONE
loaded {"variant": "imperative", "name_appears_in_result": false}
compliance_check {"variant": "imperative", "done_present": true}
turn 1 · 0.3ms · asked for: load_skill
model mock · 0.1ms · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (labeled variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 2, "roles": ["system", "human"]}
reply
rolecontent
[0]ai
load_skill({"variant": "labeled"})
tool load_skill · 0.1ms · given: variant=labeled · returned: Skill 'always-say-done' loaded: When you finish your answer, always end it with the word DONE.
args {"variant": "labeled"}
result {"value": "Skill 'always-say-done' loaded:\n\nWhen you finish your answer, always end it with the word DONE."}
turn 2 · 0.2ms · responded with: Hello there. DONE
model mock · 0.2ms · responded with: Hello there. DONE
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (labeled variant), then say hello.
[2]ai
load_skill({"variant": "labeled"})
[3]toolSkill 'always-say-done' loaded: When you finish your answer, always end it with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
tools declared to the mock model {"names": ["load_skill"], "consulted": false}
context ignored by the mock model {"messages": 4, "roles": ["system", "human", "ai", "tool"]}
reply
rolecontent
[0]aiHello there. DONE
loaded {"variant": "labeled", "name_appears_in_result": true}
compliance_check {"variant": "labeled", "done_present": true}
scenario a_provenance_label_helps_a_reader_not_the_model · 4323.5ms
turn 1 · 1120.5ms · 336 in / 66 out · asked for: load_skill
model live · 1120.0ms (model provider 1114.6 · library 5.4) · 336 in / 66 out · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length504
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (imperative variant), then say hello.",
      "role": "user"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:18 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 be626befb5228a851019aa4b9b0a73fe.cloudfront.net (CloudFront)
x-amz-cf-idbvd4vWql_R-5NuMhNkMi-c6fj0XD5vbcxQYObLTu9hvVvM7gkO_iBA==
x-amz-cf-popDEN53-P6
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-id217edade579cb8cc10046c849796a3db
{
  "id": "2f2883c9-b624-4f44-8403-3e3a4d9a17fc",
  "object": "chat.completion",
  "created": 1789336458,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "",
        "reasoning_content": "The user asks to load the always-say-done skill (imperative variant), then say hello. Let me load it.",
        "tool_calls": [
          {
            "index": 0,
            "id": "call_00_BKjAn9SCRFbW27bqncox1721",
            "type": "function",
            "function": {
              "name": "load_skill",
              "arguments": "{\"variant\": \"imperative\"}"
            }
          }
        ]
      },
      "logprobs": null,
      "finish_reason": "tool_calls"
    }
  ],
  "usage": {
    "prompt_tokens": 336,
    "completion_tokens": 66,
    "total_tokens": 402,
    "prompt_tokens_details": {
      "cached_tokens": 128
    },
    "completion_tokens_details": {
      "reasoning_tokens": 26
    },
    "prompt_cache_hit_tokens": 128,
    "prompt_cache_miss_tokens": 208
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]ai
load_skill({"variant": "imperative"})
tool load_skill · 0.5ms · given: variant=imperative · returned: When you finish your answer, always end it with the word DONE.
args {"variant": "imperative"}
result {"value": "When you finish your answer, always end it with the word DONE."}
turn 2 · 1005.4ms · 428 in / 5 out · responded with: Hello! DONE
model live · 1005.3ms (model provider 999.3 · library 6.0) · 428 in / 5 out · responded with: Hello! DONE
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (imperative variant), then say hello.
[2]ai
load_skill({"variant": "imperative"})
[3]toolWhen you finish your answer, always end it with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length957
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (imperative variant), then say hello.",
      "role": "user"
    },
    {
      "content": null,
      "role": "assistant",
      "tool_calls": [
        {
          "type": "function",
          "id": "call_00_BKjAn9SCRFbW27bqncox1721",
          "function": {
            "name": "load_skill",
            "arguments": "{\"variant\": \"imperative\"}"
          }
        }
      ],
      "reasoning_content": "The user asks to load the always-say-done skill (imperative variant), then say hello. Let me load it."
    },
    {
      "content": "When you finish your answer, always end it with the word DONE.",
      "role": "tool",
      "tool_call_id": "call_00_BKjAn9SCRFbW27bqncox1721"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:19 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 77cfd797d789c3b8bc1b8f2f8a42a9c6.cloudfront.net (CloudFront)
x-amz-cf-idPJTd6Qcm2zs5WitQmHFLTPZ4E5w19V_oycRrNXP5qI4H4IY8J_bjeg==
x-amz-cf-popDEN52-P2
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-idaf978d819ddb9d20db4bb80ed4682e43
{
  "id": "275d344c-54f9-4d9a-8232-9702e0a6ea5f",
  "object": "chat.completion",
  "created": 1789336459,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! DONE",
        "reasoning_content": ""
      },
      "logprobs": null,
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 428,
    "completion_tokens": 5,
    "total_tokens": 433,
    "prompt_tokens_details": {
      "cached_tokens": 256
    },
    "completion_tokens_details": {
      "reasoning_tokens": 0
    },
    "prompt_cache_hit_tokens": 256,
    "prompt_cache_miss_tokens": 172
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]aiHello! DONE
loaded {"variant": "imperative", "name_appears_in_result": false}
compliance_check {"variant": "imperative", "done_present": true}
turn 1 · 1157.8ms · 335 in / 67 out · asked for: load_skill
model live · 1157.5ms (model provider 1147.0 · library 10.5) · 335 in / 67 out · asked for: load_skill
context sent — 2 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (labeled variant), then say hello.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length501
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (labeled variant), then say hello.",
      "role": "user"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:20 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 ae2999d214179b68f3cdd080c9f4c304.cloudfront.net (CloudFront)
x-amz-cf-idupUIyYIcLA3lDEDvtGEJWyRHtiXkPZnHfvH5nYnO7CExcbclIXe4Tg==
x-amz-cf-popDEN53-P2
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-id0da47064ef8becbde34fdf4f16f4fc19
{
  "id": "74ddb654-ed7b-41b2-b343-ec3b2737c071",
  "object": "chat.completion",
  "created": 1789336460,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "",
        "reasoning_content": "The user wants me to load the always-say-done skill in the labeled variant, then say hello.\n\nLet me call the tool.",
        "tool_calls": [
          {
            "index": 0,
            "id": "call_00_lu043TbH4cQul2AxqfBH3627",
            "type": "function",
            "function": {
              "name": "load_skill",
              "arguments": "{\"variant\": \"labeled\"}"
            }
          }
        ]
      },
      "logprobs": null,
      "finish_reason": "tool_calls"
    }
  ],
  "usage": {
    "prompt_tokens": 335,
    "completion_tokens": 67,
    "total_tokens": 402,
    "prompt_tokens_details": {
      "cached_tokens": 128
    },
    "completion_tokens_details": {
      "reasoning_tokens": 28
    },
    "prompt_cache_hit_tokens": 128,
    "prompt_cache_miss_tokens": 207
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]ai
load_skill({"variant": "labeled"})
tool load_skill · 0.3ms · given: variant=labeled · returned: Skill 'always-say-done' loaded: When you finish your answer, always end it with the word DONE.
args {"variant": "labeled"}
result {"value": "Skill 'always-say-done' loaded:\n\nWhen you finish your answer, always end it with the word DONE."}
turn 2 · 1039.5ms · 438 in / 26 out · responded with: Hello! DONE
model live · 1039.5ms (model provider 1033.6 · library 5.8) · 438 in / 26 out · responded with: Hello! DONE
context sent — 4 message(s)
rolecontent
[0]systemYou answer briefly and plainly. Use the tools you are given.
[1]humanLoad the always-say-done skill (labeled variant), then say hello.
[2]ai
load_skill({"variant": "labeled"})
[3]toolSkill 'always-say-done' loaded: When you finish your answer, always end it with the word DONE.
declared tools (1)
tooldescriptionschema
load_skillLoad a skill's content by variant name.{"$defs": {"Variant": {"enum": ["imperative", "declarative", "labeled"], "type": "string"}}, "description": "Load a skill's content by variant name.", "properties": {"variant": {"$ref": "#/$defs/Variant"}}, "required": ["variant"], "title": "load_skill", "type": "object"}
wire request
attempt
1
method
POST
url
https://api.deepseek.com/v1/chat/completions
defaulted (6)
temperature, max_tokens, top_p, stop, seed, tool_choice
headers (18)
show
acceptapplication/json
accept-encodinggzip, deflate, zstd
authorizationnot recorded
connectionkeep-alive
content-length1001
content-typeapplication/json
hostapi.deepseek.com
user-agentOpenAI/Python 3.6.0
x-stainless-archarm64
x-stainless-asyncfalse
x-stainless-langpython
x-stainless-osMacOS
x-stainless-package-version3.6.0
x-stainless-raw-responsetrue
x-stainless-read-timeout60.0
x-stainless-retry-count0
x-stainless-runtimeCPython
x-stainless-runtime-version3.14.7
{
  "messages": [
    {
      "content": "You answer briefly and plainly. Use the tools you are given.",
      "role": "system"
    },
    {
      "content": "Load the always-say-done skill (labeled variant), then say hello.",
      "role": "user"
    },
    {
      "content": null,
      "role": "assistant",
      "tool_calls": [
        {
          "type": "function",
          "id": "call_00_lu043TbH4cQul2AxqfBH3627",
          "function": {
            "name": "load_skill",
            "arguments": "{\"variant\": \"labeled\"}"
          }
        }
      ],
      "reasoning_content": "The user wants me to load the always-say-done skill in the labeled variant, then say hello.\n\nLet me call the tool."
    },
    {
      "content": "Skill 'always-say-done' loaded:\n\nWhen you finish your answer, always end it with the word DONE.",
      "role": "tool",
      "tool_call_id": "call_00_lu043TbH4cQul2AxqfBH3627"
    }
  ],
  "model": "deepseek-flash",
  "stream": false,
  "tools": [
    {
      "type": "function",
      "function": {
        "name": "load_skill",
        "description": "Load a skill's content by variant name.",
        "parameters": {
          "properties": {
            "variant": {
              "enum": [
                "imperative",
                "declarative",
                "labeled"
              ],
              "type": "string"
            }
          },
          "required": [
            "variant"
          ],
          "type": "object"
        }
      }
    }
  ]
}
wire response
status
200
headers (15)
show
access-control-allow-credentialstrue
connectionkeep-alive
content-encodinggzip
content-typeapplication/json
dateSun, 13 Sep 2026 21:54:21 GMT
serverelb
strict-transport-securitymax-age=31536000; includeSubDomains; preload
transfer-encodingchunked
varyorigin, access-control-request-method, access-control-request-headers
via1.1 6ee8e8bdbabf89947c73b848e4ee7230.cloudfront.net (CloudFront)
x-amz-cf-idug7VeIDUAWS5SM0EGyYnL9JZyKS9g3OL3lAPG-wVHjRgojy7b1f3tQ==
x-amz-cf-popDEN53-P2
x-cacheMiss from cloudfront
x-content-type-optionsnosniff
x-ds-trace-id2351bb5bd463d8436e99ec59c3c2e169
{
  "id": "acd8ecd8-ea0b-4e99-aaa2-0e3829242e62",
  "object": "chat.completion",
  "created": 1789336461,
  "model": "deepseek-flash",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello!\n\nDONE",
        "reasoning_content": "The skill says to end my answer with the word DONE.\n\nSay hello. End with DONE."
      },
      "logprobs": null,
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 438,
    "completion_tokens": 26,
    "total_tokens": 464,
    "prompt_tokens_details": {
      "cached_tokens": 256
    },
    "completion_tokens_details": {
      "reasoning_tokens": 21
    },
    "prompt_cache_hit_tokens": 256,
    "prompt_cache_miss_tokens": 182
  },
  "system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}
reply
rolecontent
[0]aiHello! DONE
loaded {"variant": "labeled", "name_appears_in_result": true}
compliance_check {"variant": "labeled", "done_present": true}