Skip to content

Commit 1e4f35f

Browse files
Adjusting default max conversation id length (#196)
1 parent 35185ab commit 1e4f35f

File tree

1 file changed

+1
-1
lines changed
  • libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/connector/client

1 file changed

+1
-1
lines changed

libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/connector/client/connector_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class ConversationsOperations(ConversationsBase):
124124

125125
def __init__(self, client: ClientSession, **kwargs):
126126
self.client = client
127-
self._max_conversation_id_length = kwargs.get("max_conversation_id_length", 200)
127+
self._max_conversation_id_length = kwargs.get("max_conversation_id_length", 150)
128128

129129
def _normalize_conversation_id(self, conversation_id: str) -> str:
130130
return conversation_id[: self._max_conversation_id_length]

0 commit comments

Comments
 (0)