Skip to content

Conversation

@Guikingone
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
Docs? no
Issues --
License MIT

@Guikingone Guikingone marked this pull request as ready for review January 16, 2026 16:50
@carsonbot carsonbot added Agent Issues & PRs about the AI Agent component Feature New feature Status: Needs Review labels Jan 16, 2026
Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's aweseom - thanks! One quick improvement :)

Comment on lines +57 to +64
public function fetchWebPage(string $url): array
{
$response = $this->request('POST', 'web_fetch', [
'url' => $url,
]);

return $response->toArray();
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a source for this directly :)

See Wikipedia as reference:

$this->addSource(
new Source($article['title'], $this->getUrl($article['title']), $article['extract'])
);

@chr-hertel
Copy link
Member

Oh, and could you please add one example in examples/toolbox/ollama.php?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Agent Issues & PRs about the AI Agent component Feature New feature Status: Needs Work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants