Skip to content

Assessment: Make user prompt optional & support attachment column mapping#226

Merged
vprashrex merged 2 commits into
devfrom
fix/assessment-optional-prompt-attachments
Jun 19, 2026
Merged

Assessment: Make user prompt optional & support attachment column mapping#226
vprashrex merged 2 commits into
devfrom
fix/assessment-optional-prompt-attachments

Conversation

@vprashrex

@vprashrex vprashrex commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Issue

Closes #227

Summary

  • Made the user prompt optional in the assessment flow — added an "Optional" badge and removed the prompt-required validation and step gating.
  • Allowed attachment/document columns to satisfy column mapping, the topic-relevance prefilter, and submit validation (previously required at least one text column).
  • Renamed provider googlegoogle-aistudio and added anthropic to the provider type unions to match the backend.
  • Replaced hardcoded "openai" provider literals with CompletionConfig["provider"].

Checklist

Before submitting a pull request, please ensure that you mark these task.

  • Ran npm run dev and npm run build in the repository root and test.
  • If you've fixed a bug or added code that is tested

@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b9204644-a148-4d2d-88d2-b84fb06b1f35

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/assessment-optional-prompt-attachments

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.

@vprashrex vprashrex changed the title feat(assessment): make user prompt optional and accept attachment columns Assessment: Make user prompt optional & support attachment column mapping Jun 19, 2026
@vprashrex vprashrex linked an issue Jun 19, 2026 that may be closed by this pull request
@vprashrex vprashrex requested a review from Ayush8923 June 19, 2026 03:42
@vprashrex vprashrex self-assigned this Jun 19, 2026
@vprashrex vprashrex added ready-for-review enhancement New feature or request labels Jun 19, 2026
@vprashrex vprashrex merged commit 1c8ac48 into dev Jun 19, 2026
2 checks passed
@vprashrex vprashrex deleted the fix/assessment-optional-prompt-attachments branch June 19, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ready-for-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assessment: Improve column mapping options

2 participants