-
Notifications
You must be signed in to change notification settings - Fork 1
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
Initial GitHub Integration for the AI Mentor #231
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
61444c6
add loading state
milesha 7cb81bf
add initial system message generation
milesha 3ec8033
Merge branch 'develop' into feature/auto-start-mentor-chat
milesha 59a11d1
reformat code
milesha c21b144
fromat code
milesha b15254d
Start git integration
milesha 1276f20
revert changed
milesha 5afbf94
improve code structure
milesha 13be91e
Update IS structure
milesha a6ec666
format code
milesha 1682809
start integrating logic
milesha 4832305
add prompts
milesha a75fd75
fix folder naming + update reposnse generation function
milesha 7f23184
Merge branch 'feature/auto-start-mentor-chat' into feature/integrate-…
milesha e204a70
start development
milesha 9ef03f3
Memory integration
milesha 2be7ae0
Merge branch 'develop' into feature/integrate-progress-mentor-chat
milesha a7b4bdc
Update prompts
milesha e179333
Refactor chat session handling and add chat summary component
milesha c6fae1a
Fix formating
milesha bb89af7
Update prompts
milesha b102975
Merge branch 'develop' into feature/integrate-progress-mentor-chat
milesha 4e8f09d
update to angular v19
milesha eff6852
fix formating and prompting
milesha 99b4974
fix formating
milesha 676487b
update model initialization to use gpt-4o
milesha df79007
add method to find assigned pull requests updated since a specific date
milesha 2af662e
change summary layout
milesha b13d704
Merge branch 'feature/integrate-progress-mentor-chat' into feature/me…
milesha 7d5cca6
Refactor mentor state and routing logic to add github issues integration
milesha 49952d6
format code
milesha 9ca76c6
fix poetry, add extras to psycopg
milesha 04b955d
Merge branch 'feature/integrate-progress-mentor-chat' into feature/me…
milesha 825e107
fix the session order
milesha 4d9e09d
Refactor message parsing logic + update prompt formats for clarity.
milesha a66f84f
formating fixes
milesha cd4763d
fix formatting
milesha 752d19c
add extra check for prs
milesha 3b222fa
add dev_progress integration to the impediments
milesha 4770b03
update persona prompt
milesha 1d28ad9
add mentor node for conversations after the project update
milesha b212ca8
Merge branch 'feature/integrate-progress-mentor-chat' into feature/me…
milesha c03141e
fomratting fixes
milesha bfc0fd1
minor prompt improvements + bug fixing of the message bubble width
milesha 377d697
fix
milesha 3811ad5
Merge branch 'feature/integrate-progress-mentor-chat' into feature/me…
milesha 2d5b0b5
Merge branch 'develop' into feature/mentor-github-integration
milesha 38da35b
fix after merge develop
milesha f9ca445
Merge branch 'develop' into feature/mentor-github-integration
FelixTJDietrich c3a9f6b
add minor improvements
FelixTJDietrich d0fad6a
fix logging
FelixTJDietrich 23043d4
fix formatting and ui
FelixTJDietrich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
server/intelligence-service/app/mentor/prompts/mentor/dev_progress.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Ask the user if they want to add their progress to the status update. The user can reference the PRs by the number. | ||
|
||
FORMAT: | ||
Start with word "DEVELOPMENT", then put {progress} without any changes, on the next line add "RESPONSE" and then ask for confirmation to add the progres you have found to status update. | ||
|
||
Examples for the RESPONSE part you need to generate: | ||
- I have found you worked on these PRs during the last spring. Do you want me to add them to you status update? | ||
|
||
Examaple of the whole message you are to provide: | ||
DEVELOPMENT | ||
|
||
PR | ||
Number: 230 | ||
Title: Testing of the GitHub Integration Functionality for AI Mentor | ||
State: OPEN | ||
Draft: true | ||
Merged: false | ||
URL: https://github.com/ls1intum/Hephaestus/pull/230 | ||
|
||
--- | ||
|
||
PR | ||
Number: 220 | ||
Title: AI Mentor memory integration | ||
State: OPEN | ||
Draft: false | ||
Merged: false | ||
URL: https://github.com/ls1intum/Hephaestus/pull/220 | ||
|
||
RESPONSE | ||
|
||
I have found you worked on these PRs during the last spring. Do you want me to add them to your status update? You can reference the PRs by number. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine for now but this could be actual structured data in the future.