Skip to content

Conversation

@pppyb
Copy link
Owner

@pppyb pppyb commented Mar 19, 2025

This PR fixes issues with the code search integration tests and function_calling.py.

Issues Fixed

  1. Fixed AttributeError: dict object has no attribute function by using dictionary access syntax (CodeSearchTool["function"]["name"]) instead of attribute access (CodeSearchTool.function.name).

  2. Fixed TypeError: CodeSearchObservation.__init__() missing 1 required positional argument: content by correctly creating CodeSearchObservation instances without a content parameter (since content is a property method, not a constructor parameter).

These changes ensure that the code search functionality is properly integrated with the rest of the OpenHands framework.

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Apr 19, 2025
@github-actions
Copy link

This PR was closed because it has been stalled for over 30 days with no activity.

@github-actions github-actions bot closed this Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants