Skip to content

Commit

Permalink
Fall back on string if it can't parse search result value in KB
Browse files Browse the repository at this point in the history
  • Loading branch information
StijnKas authored Jan 10, 2025
1 parent d163c8e commit 9da645e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SearchResultValue(BaseModel):

class SearchResult(BaseModel):
name: str
value: Union[Json[SearchResultValue], SearchResultValue]
value: Union[Json[SearchResultValue], SearchResultValue | str]


class BuddyResponse(BaseModel):
Expand Down

0 comments on commit 9da645e

Please sign in to comment.