Skip to content

Commit

Permalink
add generate conversation name error log (langgenius#9117)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinsily authored and lau-td committed Oct 23, 2024
1 parent d80d274 commit 63000f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/core/app/task_pipeline/message_cycle_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def _generate_conversation_name_worker(self, flask_app: Flask, conversation_id:
try:
name = LLMGenerator.generate_conversation_name(app_model.tenant_id, query)
conversation.name = name
except:
pass
except Exception as e:
logging.exception(f"generate conversation name failed: {e}")

db.session.merge(conversation)
db.session.commit()
Expand Down

0 comments on commit 63000f6

Please sign in to comment.