Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove 'hostname' property from WebSearchSource #218

Merged
merged 1 commit into from
May 22, 2024

Conversation

TribSTox
Copy link
Contributor

The 'hostname' property is no longer present in the JSON response, causing errors in the web search functionality. This commit removes the 'hostname' attribute from the WebSearchSource class and updates the Message class to handle the updated JSON structure correctly.

  • Removed 'hostname' attribute from WebSearchSource.
  • Updated Message class to process web search sources without 'hostname'.

This fix resolves the issue where the web search results were causing errors due to the missing 'hostname' property.

The 'hostname' property is no longer present in the JSON response, causing errors in the web search functionality. This commit removes the 'hostname' attribute from the WebSearchSource class and updates the Message class to handle the updated JSON structure correctly.

- Removed 'hostname' attribute from WebSearchSource.
- Updated Message class to process web search sources without 'hostname'.

This fix resolves the issue where the web search results were causing errors due to the missing 'hostname' property.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thanks for your PR, we will deal with your PR as soon as possible.🤗

@Soulter Soulter merged commit ea5c9bc into Soulter:master May 22, 2024
1 check passed
@TribSTox TribSTox deleted the patch-1 branch May 22, 2024 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants