Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: LLM - Improved the handling of temperature and top_p in streaming
The `temperature` and `top_p` parameters have `float` type. However some people might pass integer values to these parameters. The streaming API is sensitive to the `int` vs. `float` parameter type and will throw an error. This CL mitigates that by converting integer values to floats. PiperOrigin-RevId: 562738676
- Loading branch information