looking in my logs I see the error starting last night, here's an example payload that used to work

looking in my logs I see the error starting last night, here's an example payload that used to work that is currently failing

{
  "prompt": "Find the computer specs",
  "temperature": 0,
  "messages": [
    {
      "role": "user",
      "content": "..."
    }
  ],
  "tools": [
    {
      "name": "dataExtractor",
      "description": "Extract data that conforms to the provided schema",
      "parameters": {
        "type": "object",
        "properties": {
          "model": {
            "type": "string"
          },
          "cpu": {
            "type": "string"
          },
          "ram": {
            "type": "string"
          },
          "hard_drive": {
            "type": "string"
          },
          "year": {
            "type": "integer"
          },
          "screen_size": {
            "type": "string"
          },
          "dollars": {
            "type": "integer"
          },
          "location": {
            "type": "string"
          },
          "condition": {
            "type": "string",
            "enum": [
              "new",
              "like new",
              "excellent",
              "good",
              "fair",
              "salvage"
            ]
          }
        },
        "required": [
          "model",
          "cpu",
          "ram",
          "hard_drive",
          "year",
          "screen_size",
          "dollars",
          "location",
          "condition"
        ],
        "additionalProperties": false
      }
    }
  ]
}
Was this page helpful?