php-agentic/Services
darbs-claude 77e4ae6bad
Some checks failed
CI / PHP 8.3 (pull_request) Failing after 1m53s
CI / PHP 8.4 (pull_request) Failing after 1m52s
fix: add error handling to ClaudeService streaming (#26)
Wrap stream() in try/catch to prevent silent failures.
On exception, log the error and yield a structured error event:
  ['type' => 'error', 'message' => string]

Adds tests for connection errors, runtime exceptions, error event
format, and Log::error invocation. Closes ERR-001 in TODO.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 11:04:07 +00:00
..
Concerns chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
AgentApiKeyService.php chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
AgentDetection.php refactor: rename namespace Core\Agentic to Core\Mod\Agentic 2026-01-27 16:12:58 +00:00
AgenticManager.php refactor: rename namespace Core\Agentic to Core\Mod\Agentic 2026-01-27 16:12:58 +00:00
AgenticProviderInterface.php refactor: rename namespace Core\Agentic to Core\Mod\Agentic 2026-01-27 16:12:58 +00:00
AgenticResponse.php refactor: rename namespace Core\Agentic to Core\Mod\Agentic 2026-01-27 16:12:58 +00:00
AgentSessionService.php chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
AgentToolRegistry.php chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
ClaudeService.php fix: add error handling to ClaudeService streaming (#26) 2026-02-23 11:04:07 +00:00
ContentService.php chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
GeminiService.php chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
IpRestrictionService.php refactor: rename namespace Core\Agentic to Core\Mod\Agentic 2026-01-27 16:12:58 +00:00
OpenAIService.php chore: fix pint code style and add test config 2026-02-23 03:50:09 +00:00
PlanTemplateService.php refactor: update namespaces for L1/L2 package convention 2026-01-27 17:34:46 +00:00