Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Code Summary Button to Analyze and Summarize Code #606

Open
wants to merge 1 commit into
base: AI-features
Choose a base branch
from

Conversation

saikiranAnnam
Copy link
Collaborator

Description:
This PR introduces a "Code Summary" button to the Geoweaver UI. When clicked, it analyzes the code in the process tab and generates a concise summary using the GPT API.

NOTE : Remember to update the API key in the code.

Changes:
Added a "Code Summary" button next to the code editor in the process tab.
Integrated API call to analyze the code and return a summary.
Displayed the summary in a pop-up/modal.

How it Works:
User clicks the "Code Summary" button.
The code is sent to the GPT API for analysis.
The generated summary is displayed in a log-section.

Testing:
Tested with different scripts and verified accurate summaries.

Screenshots:

Screenshot 2025-02-21 at 8 53 57 PM
Screenshot 2025-02-21 at 8 54 53 PM

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