Skip to content

Conversation

andrew-lastmile
Copy link
Contributor

@andrew-lastmile andrew-lastmile commented Sep 12, 2025

Local run:
image

MCP-Agent Cloud run:
image

Summary by CodeRabbit

  • New Features

    • Exposed a public tool in the workflow intent classifier example that returns a consolidated, human-readable summary of embedding- and LLM-based intent results.
  • Documentation

    • Added a Beta cloud deployment guide: login, secret management, one-command deploy, and connecting via MCP clients.
    • Included integration examples for Claude Desktop and MCP Inspector, plus guidance on extending request timeouts for long-running LLM calls.

Copy link

coderabbitai bot commented Sep 12, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Adds a cloud deployment guide to the workflow_intent_classifier README and updates the example_usage function in the workflow code to be an @app.tool that aggregates classifier outputs into a returned string.

Changes

Cohort / File(s) Summary
Documentation: Cloud deploy guide
examples/workflows/workflow_intent_classifier/README.md
Appends Beta cloud deployment steps, MCP Agent Cloud login, secrets handling, one-command deploy, MCP clients connection, Claude Desktop config sample, MCP Inspector usage, and a note on extending request timeouts. No code/API changes.
Workflow intent classifier: tool exposure and result aggregation
examples/workflows/workflow_intent_classifier/main.py
Converts example_usage to @app.tool returning str; adjusts variable naming from results to output; logs and concatenates embedding and LLM classifier intents into a final string and returns it. Public function signature updated.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant App as App Tool: example_usage()
    participant EC as EmbeddingClassifier
    participant LC as LLMClassifier
    Note over App: Initialize classifiers and inputs
    User->>App: Invoke example_usage()
    App->>EC: classify(inputs)
    EC-->>App: List[IntentResult]
    App->>LC: classify(inputs)
    LC-->>App: List[IntentResult]
    Note over App: Build final string from intents<br/>(embedding + LLM)
    App-->>User: Return aggregated results (str)
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • saqadri

Poem

I hopped through logs with eager cheer,
Two classifiers whispered clear.
I stitched their intents, neat and tight,
A single string, returned just right.
Cloud winds beckon—deploy, explore!
Thump-thump goes dev, to ship some more. 🐇✨

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a9d606e and 1bdeffe.

📒 Files selected for processing (2)
  • examples/workflows/workflow_intent_classifier/README.md (1 hunks)
  • examples/workflows/workflow_intent_classifier/main.py (3 hunks)
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch andrew-docs-workflow-intent-classifier

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Collaborator

@saqadri saqadri left a comment

Choose a reason for hiding this comment

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

Nice looks good, one comment

@andrew-lastmile andrew-lastmile marked this pull request as ready for review September 12, 2025 17:49
@andrew-lastmile andrew-lastmile merged commit 289168b into main Sep 12, 2025
6 of 7 checks passed
@andrew-lastmile andrew-lastmile deleted the andrew-docs-workflow-intent-classifier branch September 12, 2025 17:49
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