Updates all classes to use the new modular namespace convention. Adds Service/ layer with Core\Service\Agentic for service definition. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
804 B
PHP
27 lines
804 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Core\Mod\Agentic\Facades;
|
|
|
|
use Core\Mod\Agentic\Services\AgenticManager;
|
|
use Illuminate\Support\Facades\Facade;
|
|
|
|
/**
|
|
* @method static \Core\Mod\Agentic\Services\AgenticProviderInterface provider(string $name = null)
|
|
* @method static \Core\Mod\Agentic\Services\ClaudeService claude()
|
|
* @method static \Core\Mod\Agentic\Services\GeminiService gemini()
|
|
* @method static \Core\Mod\Agentic\Services\OpenAIService openai()
|
|
* @method static array availableProviders()
|
|
* @method static bool isAvailable(string $name)
|
|
* @method static void setDefault(string $name)
|
|
*
|
|
* @see \Core\Mod\Agentic\Services\AgenticManager
|
|
*/
|
|
class Agentic extends Facade
|
|
{
|
|
protected static function getFacadeAccessor(): string
|
|
{
|
|
return AgenticManager::class;
|
|
}
|
|
}
|