Skip to content

Commit

Permalink
MARP-1440 Finalize chat gpt assistant fix for explain feature in v11 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tvtphuc-axonivy authored Jan 3, 2025
1 parent 86cd5ca commit bbfea2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions openai-assistant/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Require-Bundle: org.eclipse.core.runtime,
ch.ivyteam.ivy.webservice.execution;resolution:=optional,
ch.ivyteam.lib.jackson,
ch.ivyteam.ivy.jersey.client,
javax.ws.rs,
ch.ivyteam.ivy.rest.client.exec;resolution:=optional
javax.ws.rs
Bundle-ClassPath: lib/commonmark-0.22.0.jar, .
Bundle-ActivationPolicy: lazy
2 changes: 1 addition & 1 deletion openai-assistant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!-- we build towards nightly to server /dev and /lts10 pipeline
dependencies only available on LE; are marked as optional requirement
-->
<url>https://p2.axonivy.com/p2/nightly/</url>
<url>https://p2.axonivy.com/p2/nightly-10.0/</url>
</repository>
</repositories>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private static WebTarget getDesignerWsClient(UnaryOperator<RestClient> configMod
try {
RestClient config = RestClients.of(app).find(OPEN_AI);
RestClient custom = configModifier.apply(config);
var rest = new ch.ivyteam.ivy.rest.client.internal.ExternalRestWebService(app, custom);
var rest = new ch.ivyteam.ivy.rest.client.internal.ExternalRestWebService(app, app.getActiveEnvironment(), custom);
WebTarget target = rest.createCall().getWebTarget();
return target;
} finally {
Expand Down

0 comments on commit bbfea2b

Please sign in to comment.