Skip to content

Commit f2c4b0c

Browse files
committed
bug #970 [Platform] Fix Platform component dependency on Agent exceptions (OskarStark)
This PR was merged into the main branch. Discussion ---------- [Platform] Fix Platform component dependency on Agent exceptions | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | Refs #798 | License | MIT Remove incorrect import of RuntimeException from Agent component in MissingModelSupportException. The Platform component should use its own exception hierarchy and not depend on Agent exceptions. Commits ------- 046df40 Fix Platform component dependency on Agent exceptions
2 parents c75a24b + 046df40 commit f2c4b0c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/platform/src/Exception/MissingModelSupportException.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace Symfony\AI\Platform\Exception;
1313

14-
use Symfony\AI\Agent\Exception\RuntimeException;
15-
1614
/**
1715
* @author Christopher Hertel <[email protected]>
1816
*/

0 commit comments

Comments
 (0)