Skip to content

Conversation

@kevinkim-ogp
Copy link
Contributor

@kevinkim-ogp kevinkim-ogp commented Dec 9, 2025

TL;DR

This PR adds a new GraphQL query getChatReadiness that determines if a user message is ready for chat processing.

What changed

  • Creates a new GraphQL query resolver for checking chat readiness
  • Adds the necessary schema definitions for the query and response type
  • Extracts a reusable getPrompt helper function to fetch prompts from Langfuse
  • Configures the prompt via Launch Darkly flags
  • Implements tracing for monitoring and debugging
  • Restructures the chat API folder organization

How to test?

  • Make a direct call to the query and receive either true or false depending on whether the workflow description makes sense and is sufficient to generate the steps for the Pipe.

Copy link
Contributor Author

kevinkim-ogp commented Dec 9, 2025

@kevinkim-ogp kevinkim-ogp changed the title chore: refactor chat apis, add readiness check [AI-BUILDER-10] (backend): add chat readiness check Dec 9, 2025
@kevinkim-ogp kevinkim-ogp marked this pull request as ready for review December 9, 2025 14:13
@kevinkim-ogp kevinkim-ogp requested a review from a team as a code owner December 9, 2025 14:13
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.

2 participants