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
@@ -204,12 +204,12 @@ await foreach (StreamingChatMessageContent update in agent.InvokeStreamingAsync(
204
204
205
205
### Agent Framework
206
206
207
-
Agent Framework has a similar streaming API pattern, with the key difference being that it returns `AgentRunResponseUpdate` objects that include more agent-related information per update.
207
+
Agent Framework has a similar streaming API pattern, with the key difference being that it returns `AgentResponseUpdate` objects that include more agent-related information per update.
208
208
209
-
All updates produced by any service underlying the AIAgent are returned. The textual result of the agent is available by concatenating the `AgentRunResponse.Text` values.
209
+
All updates produced by any service underlying the AIAgent are returned. The textual result of the agent is available by concatenating the `AgentResponse.Text` values.
Key differences in the method names from `invoke` to `run_stream`, return types (`AgentRunResponseUpdate`) and parameters.
719
+
Key differences in the method names from `invoke` to `run_stream`, return types (`AgentResponseUpdate`) and parameters.
720
720
721
721
### Semantic Kernel
722
722
@@ -731,28 +731,28 @@ async for update in agent.invoke_stream(
731
731
732
732
### Agent Framework
733
733
734
-
Similar streaming API pattern with the key difference being that it returns `AgentRunResponseUpdate` objects including more agent related information per update.
734
+
Similar streaming API pattern with the key difference being that it returns `AgentResponseUpdate` objects including more agent related information per update.
735
735
736
736
All contents produced by any service underlying the Agent are returned. The final result of the agent is available by combining the `update` values into a single response.
737
737
738
738
```python
739
-
from agent_framework importAgentRunResponse
739
+
from agent_framework importAgentResponse
740
740
agent =...
741
741
updates = []
742
742
asyncfor update in agent.run_stream(user_input, thread):
0 commit comments