refactor(util): reorder gemini schema cleaner helpers
This commit is contained in:
1 parent
3c71c075db
commit
abfca6aab2
2 files changed
+38
-37
No files matched your search
@@ -1213,7 +1213,6 @@ func (e *AntigravityExecutor) buildRequest(ctx context.Context, auth *cliproxyau
|
||||
// Use the centralized schema cleaner to handle unsupported keywords,
|
||||
// const->enum conversion, and flattening of types/anyOf.
|
||||
strJSON = util.CleanJSONSchemaForAntigravity(strJSON)
|
||||
|
||||
payload = []byte(strJSON)
|
||||
} else {
|
||||
strJSON := string(payload)
|
||||
|
||||
Reference in new issue
Block a user