File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
translator/translator_impl Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3030
3131# from pdf2zh_next.high_level import translate, translate_stream
3232
33- __version__ = "2.5.0 "
33+ __version__ = "2.5.1 "
3434__author__ = "Byaidu, awwaawwa"
3535__license__ = "AGPL-3.0"
3636__maintainer__ = "awwaawwa"
Original file line number Diff line number Diff line change 1- __version__ = "2.5.0 "
1+ __version__ = "2.5.1 "
22__major_version__ = "2"
33__config_file_version__ = "3"
44
Original file line number Diff line number Diff line change 1414from pdf2zh_next .config import ConfigManager
1515from pdf2zh_next .high_level import do_translate_file_async
1616
17- __version__ = "2.5.0 "
17+ __version__ = "2.5.1 "
1818
1919logger = logging .getLogger (__name__ )
2020
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def __init__(
4848
4949 if self .send_temperature and self .temperature :
5050 self .add_cache_impact_parameters ("temperature" , self .temperature )
51- self .options ["temperature" ] = int (self .temperature )
51+ self .options ["temperature" ] = float (self .temperature )
5252 if self .send_reasoning_effort and self .reasoning_effort :
5353 self .add_cache_impact_parameters ("reasoning_effort" , self .reasoning_effort )
5454 self .options ["reasoning_effort" ] = self .reasoning_effort
Original file line number Diff line number Diff line change 11[project ]
22name = " pdf2zh-next"
3- version = " 2.5.0 "
3+ version = " 2.5.1 "
44description = " Latex PDF Translator"
55authors = [
66 {
name =
" awwaawwa" ,
email =
" [email protected] " },
@@ -81,7 +81,7 @@ max-line-length = 88
8181
8282
8383[bumpver ]
84- current_version = " 2.5.0 "
84+ current_version = " 2.5.1 "
8585version_pattern = " MAJOR.MINOR.PATCH[.PYTAGNUM]"
8686
8787[bumpver .file_patterns ]
You can’t perform that action at this time.
0 commit comments