llmsim 0.4.0

LLM Traffic Simulator - A lightweight, high-performance LLM API simulator
Documentation
{
  "on_exhausted": "error",
  "turns": [
    {
      "type": "tool_calls",
      "calls": [
        {
          "name": "bash",
          "arguments": { "command": "echo hello > /tmp/x.txt" }
        }
      ]
    },
    {
      "type": "tool_calls",
      "calls": [
        {
          "name": "bash",
          "arguments": { "command": "sed -i s/hello/world/ /tmp/x.txt" }
        }
      ]
    },
    {
      "type": "mixed",
      "text": "All done — file now contains 'world'.",
      "calls": [
        {
          "name": "bash",
          "arguments": { "command": "cat /tmp/x.txt" },
          "id": "call_verify"
        }
      ]
    },
    {
      "type": "assistant",
      "text": "done"
    }
  ]
}