Commit 98d493c
committed
fix(rotator_library): š infer schema type during const-to-enum conversion
Gemini requires an explicit `type` definition when using `enum` in tool schemas. When converting unsupported `const` keywords to `enum`, the cleaner now automatically infers and injects the appropriate type (boolean, integer, number, or string) based on the constant value if it is missing.1 parent 431f2d5 commit 98d493c
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
| 858 | + | |
858 | 859 | | |
859 | 860 | | |
860 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
861 | 872 | | |
862 | 873 | | |
863 | 874 | | |
| |||
0 commit comments