Skip to content

Commit

Permalink
Update model again
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Dyer committed Oct 15, 2023
1 parent 0c9eb00 commit 60f9be2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void requestAndHandleResponse(IrisSession irisSession) {
// The response handling is duplicated, also exists in IrisChatSessionService
// However, there is no good reason why every session type should have the same response handling
// TODO: Consider refactoring this

Check warning on line 127 in src/main/java/de/tum/in/www1/artemis/service/iris/session/IrisCodeEditorSessionService.java

View check run for this annotation

Teamscale / teamscale-findings

src/main/java/de/tum/in/www1/artemis/service/iris/session/IrisCodeEditorSessionService.java#L127

TODO: Consider refactoring this https://teamscale.io/findings.html#details/GitHub-ls1intum-Artemis?t=feature%2Firis-code-editor-ui%3AHEAD&id=2457B0379A1AF17E8029610D64431E2A
irisConnectorService.sendRequestV2(IrisConstants.CODE_EDITOR_INITIAL_REQUEST, "gpt-3.5-turbo-16k", params).handleAsync((response, err) -> {
irisConnectorService.sendRequestV2(IrisConstants.CODE_EDITOR_INITIAL_REQUEST, "GPT35_TURBO", params).handleAsync((response, err) -> {
if (err != null) {
log.error("Error while getting response from Iris model", err);
irisCodeEditorWebsocketService.sendException(session, err.getCause());
Expand Down

0 comments on commit 60f9be2

Please sign in to comment.