Skip to content

Conversation

@pppyb
Copy link
Owner

@pppyb pppyb commented Mar 11, 2025

This PR fixes the issue with CodeSearchObservation handling in the message_utils.py file. The problem was that the CodeSearchObservation class was not registered in the get_observation_message function, which caused a 400 Bad Request error when using the OpenAI API.

Changes made:

  1. Added support for CodeSearchObservation in message_utils.py
  2. Modified test_real_rag_integration.py to better diagnose API issues

This fix allows the RAG integration to work properly with both mock mode and API mode.

pppyb and others added 30 commits March 8, 2025 05:28
…it times, and explicit code search instructions
@pppyb pppyb changed the title Fix CodeSearchObservation missing content field Fix CodeSearchObservation handling in message_utils.py Mar 11, 2025
@pppyb pppyb marked this pull request as ready for review March 11, 2025 04:45
@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 12, 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 20, 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