Fix: Use correct ILogger interface instead of OCP\Util\Logger type

This commit is contained in:
WLTBAgent
2026-02-16 16:26:47 +00:00
parent 53b0bd01f0
commit 54b45c2727
3 changed files with 6 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ namespace OCA\AnalyticsHub\Service;
use OCA\AnalyticsHub\Model\ClientConfig;
use OCP\IConfig;
use OCP\Util\Logger;
use OCP\ILogger;
/**
* LLM Service - Anthropic Claude API integration
@@ -15,7 +15,7 @@ use OCP\Util\Logger;
class LLMService {
private IConfig $config;
private ?Logger $logger;
private ?ILogger $logger;
// Anthropic API endpoint
private const ANTHROPIC_API = 'https://api.anthropic.com/v1/messages';