Skip to content

Commit f26d4f8

Browse files
cpsievertCopilot
andauthored
Fix TypeError message
Co-authored-by: Copilot <[email protected]>
1 parent 07a8046 commit f26d4f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg-py/src/querychat/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def normalize_client(client: Optional[str | chatlas.Chat] = None) -> chatlas.Cha
111111

112112
if not isinstance(client, chatlas.Chat):
113113
raise TypeError(
114-
"client must be a chatlas.Chat object or function that returns one",
114+
"client must be a chatlas.Chat object or a string",
115115
)
116116

117117
return client

0 commit comments

Comments
 (0)