Skip to content

Commit

Permalink
fix: 修复 Azure OpenAI 回复失败的问题 (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhengQinyu authored Aug 2, 2024
1 parent 75bbf01 commit de01dbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def on_llm_new_token(
containing content and other information.
"""
logging.info(f"### CHUNK ###: {chunk}")
self.callback(token)


class ModelType(Enum):
Expand Down

0 comments on commit de01dbd

Please sign in to comment.