Skip to content

Commit

Permalink
DEV-44665 Make llm plugin always disable
Browse files Browse the repository at this point in the history
  • Loading branch information
copyhold authored Oct 21, 2024
1 parent d8146f0 commit eac53fd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ function guessMetricFamily(metric: string): string {
* @returns true if the LLM plugin is enabled.
*/
export async function isLLMPluginEnabled(): Promise<boolean> {
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.
const openaiEnabled = llms.openai.health().then((response) => response.ok);
Expand Down

0 comments on commit eac53fd

Please sign in to comment.