We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4352d8 + 99be3ad commit 28bc15dCopy full SHA for 28bc15d
py/providers/openai.py
@@ -114,6 +114,9 @@ def _make_openai_options(self, options):
114
if options['temperature'] > -1:
115
result['temperature'] = options['temperature']
116
117
+ if 'web_search_options' in options:
118
+ result['web_search_options'] = options['web_search_options']
119
+
120
if max_tokens > 0:
121
result['max_tokens'] = max_tokens
122
if max_completion_tokens > 0:
0 commit comments