File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 22
33namespace Laravel \AiAssistant ;
44
5- use Laravel \AiAssistant \Mcp \AiAssistant ;
65use Illuminate \Support \Facades \Route ;
76use Illuminate \Support \ServiceProvider ;
7+ use Laravel \AiAssistant \Mcp \AiAssistant ;
88use Laravel \Mcp \Facades \Mcp ;
99
1010class AiAssistantServiceProvider extends ServiceProvider
Original file line number Diff line number Diff line change 22
33namespace Laravel \AiAssistant \Mcp \Tools ;
44
5+ use Generator ;
56use Laravel \Mcp \Tools \Tool ;
67use Laravel \Mcp \Tools \ToolInputSchema ;
78use Laravel \Mcp \Tools \ToolResponse ;
8- use Generator ;
99
1010class LogReader extends Tool
1111{
@@ -39,8 +39,6 @@ public function schema(ToolInputSchema $schema): ToolInputSchema
3939
4040 /**
4141 * Execute the tool call.
42- *
43- * @return ToolResponse|Generator
4442 */
4543 public function handle (array $ arguments ): ToolResponse |Generator
4644 {
@@ -70,8 +68,6 @@ public function handle(array $arguments): ToolResponse|Generator
7068 * Efficiently read the last N lines from a file handle.
7169 *
7270 * @param resource $handle
73- * @param int $lines
74- * @return string
7571 */
7672 protected function tail ($ handle , int $ lines ): string
7773 {
You can’t perform that action at this time.
0 commit comments