Log llm response on exception (#6750)

### What problem does this PR solve?

Log llm response on exception

### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2025-04-02 17:10:57 +08:00
committed by GitHub
parent 724a36fcdb
commit e7a2a4b7ff
5 changed files with 45 additions and 57 deletions

View File

@ -318,4 +318,4 @@ class RedisDistributedLock:
return self.lock.acquire(token=self.lock_value)
def release(self):
return self.lock.release()
REDIS_CONN.delete_if_equal(self.lock_key, self.lock_value)