davis0178

Results issues of davis0178

### Background / Description When a tool parameter is a Pydantic discriminated union, `GeminiChatModel._format_tools` runs `_flatten_json_schema` and then `_sanitize_schema_for_gemini` on the parameter schema. Flattening inlines the `$defs` and removes the...

triage/confirmed

### Background / Description `GeminiChatModel._format_tools` runs `_flatten_json_schema` and then `_sanitize_schema_for_gemini` before building the google-genai request. A tool parameter typed as a fixed-length tuple produces `prefixItems` (with `minItems`/`maxItems`) in the Pydantic...

triage/confirmed

### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question,...

1.19.0

### Background / Description `GeminiChatModel._format_tools` sanitizes the tool schema with `_sanitize_schema_for_gemini` before building the request. Two Pydantic-emitted keywords are still left in place, and google-genai's `Schema` has a field for...

triage/confirmed