Skip to content

Commit

Permalink
Disable llm
Browse files Browse the repository at this point in the history
  • Loading branch information
copyhold committed Oct 21, 2024
1 parent 32554bb commit feb9b9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/app/features/dashboard/components/GenAI/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export function getDashboardChanges(dashboard: DashboardModel): {
* @returns true if the LLM plugin is enabled.
*/
export async function isLLMPluginEnabled() {
return Promise.resolve(false); // LOGZ.IO GRAFANA CHANGE :: DEV-44665-grafana-upgrade-remove-llm
// Check if the LLM plugin is enabled.
// If not, we won't be able to make requests, so return early.
return llms.openai.health().then((response) => response.ok);
Expand Down

0 comments on commit feb9b9d

Please sign in to comment.