Skip to content

Commit

Permalink
Revert "Copilot capability IsEnabled - return value lost in update (#…
Browse files Browse the repository at this point in the history
…2927)"

This reverts commit 1a1a91d.
  • Loading branch information
mazhelez committed Feb 12, 2025
1 parent 1a1a91d commit 09ec17e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ codeunit 7772 "Azure OpenAI Impl" implements "AI Service Name"

procedure IsEnabled(Capability: Enum "Copilot Capability"; CallerModuleInfo: ModuleInfo): Boolean
begin
exit(CopilotCapabilityImpl.IsCapabilityEnabled(Capability, CallerModuleInfo));
CopilotCapabilityImpl.IsCapabilityEnabled(Capability, CallerModuleInfo);
end;

procedure IsEnabled(Capability: Enum "Copilot Capability"; Silent: Boolean; CallerModuleInfo: ModuleInfo): Boolean
begin
exit(CopilotCapabilityImpl.IsCapabilityEnabled(Capability, Silent, CallerModuleInfo));
CopilotCapabilityImpl.IsCapabilityEnabled(Capability, Silent, CallerModuleInfo);
end;

procedure SetCopilotCapability(Capability: Enum "Copilot Capability"; CallerModuleInfo: ModuleInfo)
Expand Down

0 comments on commit 09ec17e

Please sign in to comment.