-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
Feature/update hunyuan #25779
Feature/update hunyuan #25779
Conversation
- Remove the default values of Temperature and TopP - Add SystemMessage
…ng, and initialize the response id field value to request_id
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
@@ -112,10 +117,10 @@ def lc_serializable(self) -> bool: | |||
"""What sampling temperature to use.""" | |||
top_p: float = 1.0 | |||
"""What probability mass to use.""" | |||
model: str = "hunyuan-lite" | |||
model: str = "hunyuan-pro" |
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.
this will quietly change the model type for anyone relying on the default model, here. Suggest keeping unchanged.
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.
generations.append(ChatGeneration(message=message)) | ||
|
||
token_usage = response["Usage"] | ||
llm_output = {"token_usage": token_usage} | ||
llm_output = {"token_usage": response.get("Usage", "")} |
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.
is empty string the correct type for token usage?
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.
7323c4a
to
6b2b25c
Compare
Head branch was pushed to by a user without write access
Head branch was pushed to by a user without write access
Description:
- Add system templates and user templates in integration testing
- initialize the response id field value to request_id
- Adjust the default model to hunyuan-pro
- Remove the default values of Temperature and TopP
- Add SystemMessage
all the integration tests have passed.
1、Execute integration tests for the first time
2、Run the integration test a second time
Issue: None
Dependencies: None
Twitter handle: None