Commit 36b94ea
authored
Fix issue with openai (#265)
Fixes #264
This schema is rejected by OpenAI because
the value could be an array without items type.
This seems to fix it.
A better solution would maybe be to use anyOf with a union
of all five possible types.
Signed-off-by: David Gageot <david.gageot@docker.com>1 parent 5f194e1 commit 36b94ea
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
| 748 | + | |
748 | 749 | | |
749 | 750 | | |
750 | 751 | | |
| |||
0 commit comments