Skip to content

Conversation

@subh123321
Copy link

This PR improves robustness of the KnowledgeSpace API wrapper by adding:

  • Input validation for user queries and IDs
  • Consistent request timeouts
  • Shared HTTP session for better performance
  • Clearer error handling for network and timeout failures

These changes improve backend stability when running inside Docker
and make API failures easier to diagnose.

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.

1 participant