-
Notifications
You must be signed in to change notification settings - Fork 3
added model options #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Rolland-He
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wkukka1 I have no further comments. Looks good.
| if not model_options: | ||
| model_options = {} | ||
|
|
||
| payload = {'model': model, 'messages': messages, **model_options} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep the stream option hard coded. We can allow the client to override the default value, but we should set a False default.
ai_server/server.py
Outdated
| format=json_schema[SCHEMA_KEY] if json_schema else None, | ||
| options=model_options, | ||
| ) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert this change
Updates: