[[
  {
    "name": "vertexai.request",
    "service": "tests.contrib.vertexai",
    "resource": "GenerativeModel.generate_content",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "",
    "error": 1,
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "685ae96d00000000",
      "error.message": "_GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'",
      "error.stack": "Traceback (most recent call last):\n  File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/vertexai/patch.py\", line 73, in _traced_generate\n    generations = func(*args, **kwargs)\nTypeError: _GenerativeModel.generate_content() got an unexpected keyword argument 'candidate_count'\n",
      "error.type": "builtins.TypeError",
      "language": "python",
      "runtime-id": "51dd90093585456fa5287bb1606924df",
      "vertexai.request.model": "gemini-1.5-flash",
      "vertexai.request.provider": "google"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 93922
    },
    "duration": 247000,
    "start": 1750788461562711000
  }]]
