You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/prd/azure-ai-foundry-chat-history-api-tasks.md
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -235,12 +235,10 @@ Implement the primary public method that accepts a sequence of `ThreadMessage` o
235
235
```
236
236
-[ ] Raises `ValueError` if `turn_context` is None with message "turn_context cannot be None"
237
237
-[ ] Raises `ValueError` if `messages` is None with message "messages cannot be None"
238
-
-[ ] Returns `OperationResult.success()` for empty message list without calling core service
239
238
-[ ] Creates default `ToolOptions` with `orchestrator_name="AzureAIFoundry"` if not provided
240
239
-[ ] Sets orchestrator_name to "AzureAIFoundry" if options provided but orchestrator_name is None
241
240
-[ ] Converts messages using `_convert_thread_messages_to_chat_history()`
242
-
-[ ] Returns `OperationResult.success()` if all messages filtered (no-op)
243
-
-[ ] Delegates to `self._mcp_server_configuration_service.send_chat_history()` for actual sending
241
+
-[ ] Always delegates to `self._mcp_server_configuration_service.send_chat_history()` even for empty/filtered messages (to register current user message)
244
242
-[ ] Catches unexpected exceptions and returns `OperationResult.failed(OperationError(ex))`
245
243
-[ ] Re-raises `ValueError` exceptions (validation errors should propagate)
0 commit comments