Commit b30bed7
Fix validation error with Azure AI Search data sources
Remove max_tokens and max_completion_tokens when data_sources are present.
Azure AI Search "on your data" feature does not support token limit parameters.
Fixes: "Validation error at #/max_completion_tokens: Extra inputs are not permitted"
Co-authored-by: owndev <69784886+owndev@users.noreply.github.com>1 parent 7d77d20 commit b30bed7
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1679 | 1679 | | |
1680 | 1680 | | |
1681 | 1681 | | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
1682 | 1696 | | |
1683 | 1697 | | |
1684 | 1698 | | |
| |||
0 commit comments