Skip to content

Conversation

@shukla2112
Copy link
Member

@shukla2112 shukla2112 commented Oct 29, 2025

Enhance PromptQL MCP server with thread management features

  • Use async APIs for threads - https://promptql.io/docs/promptql-apis/threads-api/#threads-v2-api
  • Introduced new tools for managing conversation threads: start_thread, start_thread_without_polling, continue_thread, get_thread_status, and cancel_thread.
  • Updated README.md to include detailed usage examples for multi-turn conversation and thread management.
  • Refactored existing ask_question tool to start threads and handle responses in a more structured way.
  • Improved error handling and logging for thread operations.
  • Added functionality to process system instructions and manage thread interactions effectively.
  • return structured configuration results instead of plain strings for all the mcp tools exposed
  • Add artifact retrieval functionality
  • change the thread/status api to support SSE events
  • Add support for private and public auth-mode
    • for private auth mode - x-hasura-ddn-token header is set
    • for public auth mode - Auth-Token header is set
    • At the moment, that's the only thing supported

- Introduced new tools for managing conversation threads: start_thread, start_thread_without_polling, continue_thread, get_thread_status, and cancel_thread.
- Updated README.md to include detailed usage examples for multi-turn conversation and thread management.
- Refactored existing ask_question tool to start threads and handle responses in a more structured way.
- Improved error handling and logging for thread operations.
- Added functionality to process system instructions and manage thread interactions effectively.
@shukla2112 shukla2112 marked this pull request as draft October 29, 2025 15:59
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