chore: update ruff from 0.5.x to 0.6.x (#7384)

This commit is contained in:
Bowen Liang
2024-08-19 09:21:11 +08:00
committed by GitHub
parent fbf31b5d52
commit bbb6fcc4f0
4 changed files with 23 additions and 25 deletions

View File

@@ -1322,9 +1322,7 @@ class MessageAgentThought(db.Model):
}
except Exception as e:
if self.observation:
return {
tool: self.observation for tool in tools
}
return dict.fromkeys(tools, self.observation)
class DatasetRetrieverResource(db.Model):