mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Merge pull request #245 from diegosouzapw/fix/issue-244-optional-field-gemini-schema
fix(gemini): remove "optional" field from JSON schema — fixes #244
This commit is contained in:
@@ -1693,6 +1693,8 @@ gh release create v2.0.0 --title "v2.0.0" --generate-notes
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
> 📈 **[View live star history on star-history.com](https://star-history.com/#diegosouzapw/OmniRoute&Date)** — The embedded chart may be cached. Click the link for real-time data.
|
||||
|
||||
---
|
||||
|
||||
## 🙏 Acknowledgments
|
||||
|
||||
@@ -41,6 +41,8 @@ export const UNSUPPORTED_SCHEMA_CONSTRAINTS = [
|
||||
"else",
|
||||
"contentMediaType",
|
||||
"contentEncoding",
|
||||
// Non-standard schema fields (not recognized by Gemini API)
|
||||
"optional",
|
||||
// UI/Styling properties (from Cursor tools - NOT JSON Schema standard)
|
||||
"cornerRadius",
|
||||
"fillColor",
|
||||
|
||||
Reference in New Issue
Block a user