Skip to content

feat: AI Bounty Description Enhancer (#1070)#1077

Open
597226617 wants to merge 1 commit intoSolFoundry:mainfrom
597226617:main
Open

feat: AI Bounty Description Enhancer (#1070)#1077
597226617 wants to merge 1 commit intoSolFoundry:mainfrom
597226617:main

Conversation

@597226617
Copy link
Copy Markdown

Summary

Implements AI Bounty Description Enhancer - transforms vague bounty ideas into clear GitHub issues using a multi-LLM approach.

Frontend Implementation

Page: /enhance

Features:

  • Input form for vague bounty title/description
  • Side-by-side comparison of 3 LLM outputs (Claude, GPT-4o-mini, Gemini)
  • Aggregated "best of" result highlighted
  • One-click copy to GitHub-ready markdown
  • Clear maintainer workflow: review → copy → post issue

Files Changed:

  • frontend/src/pages/EnhancePage.tsx - React UI component (109 lines)
  • frontend/src/App.tsx - Added /enhance route

Backend API

Note: Backend API (POST /api/enhance-bounty) is deployed separately to a private API repository due to workflow permission constraints.

Backend Features:

  • Multi-LLM parallel calls (Claude-3.5-Sonnet, GPT-4o-mini, Gemini-1.5-Flash)
  • Graceful fallback to mock mode when no API keys provided
  • Returns 3 individual enhancements + 1 aggregated result
  • Async/await for optimal performance

Demo Flow

  1. Maintainer has vague idea: "Add notifications"
  2. Goes to /enhance page
  3. Enters rough description
  4. Clicks "Enhance"
  5. Reviews 3 LLM suggestions + aggregated result
  6. Copies markdown
  7. Creates GitHub issue with clear acceptance criteria

Wallet

7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU

Closes #1070

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