ratish

Results 10 issues of ratish

## Description This PR fixes a KeyError: 'qualifiers' that occurred when processing Bedrock guardContent. The original bug was caused by directly accessing the qualifiers field. The change now assumes guardContent.text...

## Description This PR fixes a bug where AgentResult would contain an empty message list if the model returned a stream with no content events as noticed with Claude 3...

size/xs

## Description This pull request introduces a replace() method to the ToolRegistry, enabling the dynamic replacement of tool implementations at runtime. This is a feature for supporting zero-downtime updates, fixing...

size/m

## Description This pull request adds support for non-streaming responses to the OpenAIModel. Users can now set streaming=False during model initialization to receive a single, complete response object instead of...

size/m

## Description This PR resolves an invalid_request_error from the OpenAI API that occurred when a tool returned image content. The API requires that image content only to be included in...

size/m

## Description This PR enables streaming output from MCP tools to be surfaced through the Agent.stream_async() event stream. This PR has the following changes: - A new MCPClient.call_tool_stream method was...

size/m

## Description This PR fixes an INVALID_ARGUMENT error when using tool calls with gemini-3-pro-preview. According to the Gemini API documentation, when a model's response includes a thought_signature with a functionCall,...

size/m

## Description LiteLLM returns null for the tool call id field, causing toolUseId to be None in the resulting event stream. This PR ensures that a valid UUID is generated...

size/s

## Description Removes explicit 'None' default values from '.get()' calls in 'agent.py' and 'sagemaker.py'. The 'dict.get()' method defaults to 'None' already, so this change makes explicitly passing None as the...

size/xs

# What does this PR do? This PR now modifies the ContextParallelSplitHook and ContextParallelGatherHook to gracefully handle sequence lengths that are not divisible by the world size. This PR changes:...