fix: when reply_count is None, got type error
This commit is contained in:
parent
3d3d37295f
commit
02088f445d
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ async def main():
|
||||||
top_p=os.environ.get("TOP_P"),
|
top_p=os.environ.get("TOP_P"),
|
||||||
presence_penalty=os.environ.get("PRESENCE_PENALTY"),
|
presence_penalty=os.environ.get("PRESENCE_PENALTY"),
|
||||||
frequency_penalty=os.environ.get("FREQUENCY_PENALTY"),
|
frequency_penalty=os.environ.get("FREQUENCY_PENALTY"),
|
||||||
reply_count=int(os.environ.get("REPLY_COUNT")),
|
reply_count=os.environ.get("REPLY_COUNT"),
|
||||||
system_prompt=os.environ.get("SYSTEM_PROMPT"),
|
system_prompt=os.environ.get("SYSTEM_PROMPT"),
|
||||||
temperature=os.environ.get("TEMPERATURE"),
|
temperature=os.environ.get("TEMPERATURE"),
|
||||||
lc_admin=os.environ.get("LC_ADMIN"),
|
lc_admin=os.environ.get("LC_ADMIN"),
|
||||||
|
|
Loading…
Reference in a new issue