Fix traces table filtering for string arguments
This commit is contained in:
parent
83e111f088
commit
49968691cc
2 changed files with 10 additions and 3 deletions
|
|
@ -88,7 +88,9 @@ class Trace(Generic[T], HashableBaseModel):
|
|||
}
|
||||
),
|
||||
**{
|
||||
k: pformat(v, indent=2, compact=True)
|
||||
k: v
|
||||
if (isinstance(v, float) or isinstance(v, int))
|
||||
else pformat(v, indent=2, compact=True)
|
||||
for k, v in self.logged_values.items()
|
||||
},
|
||||
"models_flat": self.models_flat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue