chore: update ruff from 0.5.x to 0.6.x (#7384)
This commit is contained in:
parent
fbf31b5d52
commit
bbb6fcc4f0
4 changed files with 23 additions and 25 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue