Skip to content

Commit

Permalink
feat: populate addon name in assistant request (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii-Klimov authored Jan 4, 2024
1 parent dc1ded1 commit 6c2cb9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ private static Map.Entry<Buffer, Map<String, String>> enhanceAssistantRequest(Pr
}

String url = addon.getEndpoint();
addons.addObject().put("url", url);
addons.addObject().put("url", url).put("name", name);
if (addon.getToken() != null && !addon.getToken().isBlank()) {
headers.put("x-addon-token-" + addonIndex, addon.getToken());
}
Expand Down

0 comments on commit 6c2cb9b

Please sign in to comment.