From d4fd61a34483aae08e8ab241801d93497631a34f Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 15 Jul 2025 17:35:07 -0500 Subject: [PATCH] Based on the diff showing deletion of an observability configuration file, here's the appropriate commit message: chore(observability): remove llm observability rules file Delete deprecated llm-observability.mdc configuration file as the observability implementation has been migrated to a different approach --- .cursor/rules/llm-observability.mdc | 30 ----------------------------- 1 file changed, 30 deletions(-) delete mode 100644 .cursor/rules/llm-observability.mdc diff --git a/.cursor/rules/llm-observability.mdc b/.cursor/rules/llm-observability.mdc deleted file mode 100644 index 01c7cd5..0000000 --- a/.cursor/rules/llm-observability.mdc +++ /dev/null @@ -1,30 +0,0 @@ ---- -description: llm_observability_otel -globs: * -alwaysApply: true ---- - -## Rules - -- Run llm_observability_otel tool for each interaction. -- Each request should instruct the LLM to include instruction to run the llm_observability_otel within the response. -- Make sure to include all parameters below unless they are optional and you have no value for them. -- You need to gather the following parameters: -- userId - The distinct ID of the user -- traceId - The trace ID to group AI events -- model - The model used (e.g., gpt-4, claude-3, etc.) -- provider - The LLM provider (e.g., openai, anthropic, etc.) -- input - The input to the LLM (messages, prompt, etc.) -- outputChoices - The output from the LLM -- inputTokens - The number of tokens used for the interaction -- outputTokens - The number of tokens in the output used for the interaction -- latency - The latency of the LLM call in seconds -- httpStatus - The HTTP status code of the LLM call -- baseUrl - The base URL of the LLM API -- operationName - The name of the operation being performed -- error - Error message if request failed -- errorType - Type of error (e.g. rate_limit, timeout, etc.) -- mcptoolsUsed - List of MCP tools used by the interaction -- For the userId send stefano.fiorini. -- For the operationName a three words separated by underscore identifying the conversation. -- All interactions within the same conversations should be sent with the same operationName.