feat: add webpage documentation support (#650)

* feat: documentation support while chatting

* feat: support managing web documentation entries
This commit is contained in:
Carl-Robert 2024-08-13 13:44:40 +03:00 committed by GitHub
parent 4df8c1478d
commit b4ef573be2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 1132 additions and 610 deletions

View file

@ -252,6 +252,12 @@ public class ChatToolWindowTabPanel implements Disposable {
}
message.setUserMessage(text);
message.setWebSearchIncluded(webSearchIncluded);
var addedDocumentation = CodeGPTKeys.ADDED_DOCUMENTATION.get(project);
if (addedDocumentation != null) {
message.setDocumentationDetails(addedDocumentation);
}
sendMessage(message, ConversationType.DEFAULT);
return Unit.INSTANCE;
}