61 Commits

Author SHA1 Message Date
Guillaume Loulier
0435791001 refactor(ollama): remove ModelCatalog 2026-03-17 10:11:34 +01:00
Christopher Hertel
08b0c6f177 Consistently use symfony/event-dispatcher-contracts 2026-03-15 23:05:44 +01:00
Guillaume Loulier
a248a2f088 refactor(platform): support for structured_output fixed for Ollama 2026-03-06 10:15:39 +01:00
Christopher Hertel
081bc812c6 Bump versions for v0.6 v0.6.0 2026-03-05 00:27:55 +01:00
Fabien Potencier
062e5061e6 [Platform] Throw InvalidArgumentException when ModelClient receives a string payload 2026-03-02 11:03:48 +01:00
Christopher Hertel
f6c952af20 Prepare for v0.5.0 v0.5.0 2026-02-19 19:34:43 +01:00
Christopher Hertel
e6daba0d00 Prepare for release v0.4.0 2026-02-18 23:56:14 +01:00
Oskar Stark
42c200d63c Bump phpunit/phpunit to ^11.5.53 across all components v0.4.0 2026-02-18 11:36:38 +01:00
Guillaume Loulier
ce180679ad refactor(platform): Ollama support for ScopingHttpClient 2026-02-16 14:01:44 +01:00
Christopher Hertel
e623db5461 Revert of bumping the branch-alias right away 2026-01-27 23:21:43 +01:00
Christopher Hertel
b07cf0abe1 Bump versions and aliases for v0.3.0 release v0.3.0 2026-01-23 22:29:55 +01:00
Christopher Hertel
e27ce5a244 minor #1360 Prepare for release v0.2 (chr-hertel)
This PR was merged into the main branch.

Discussion
----------

 Prepare for release v0.2

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Docs?         | no <!-- required for new features -->
| Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT

Commits
-------

e1ca6baf Prepare for release v0.2
v0.2.0
2026-01-09 17:20:45 +01:00
Guillaume Loulier
ca4d6b5403 conf(tests): executionOrder moved to random 2026-01-08 11:38:03 +01:00
Christopher Hertel
a2a40f3bea Prepare for release v0.2 2026-01-08 09:09:35 +01:00
Oskar Stark
d823c17d46 [Platform] Require symfony/ai-platform ^0.2 in all bridges 2026-01-06 23:03:24 +01:00
Christopher Hertel
b9efa1bd99 Bump branch alias to 0.2.x-dev 2026-01-06 15:41:54 +01:00
Nikolay Mikhaylov
d0c3c835ad [Ollama] Fix request options for client 2026-01-06 14:20:25 +01:00
Christopher Hertel
a02370962f Bump dependencies for release v0.1 v0.1.0 2025-12-23 22:53:21 +01:00
Christopher Hertel
0c4cfde3de Disable Ollama token extraction for streams 2025-12-23 11:47:22 +01:00
Vincent Langlet
cf536a33f3 Use phpstan/phpstan-phpunit 2025-12-22 16:39:44 +01:00
Christopher Hertel
5fde2b9ee5 Minor patches to repair some examples 2025-12-19 16:30:04 +01:00
Oskar Stark
f16d3e21cc Move GitHub workflow files to .github/workflows/ directory 2025-12-18 19:54:01 +01:00
Oskar Stark
6676bc09be [Platform] Split bridges into dedicated packages 2025-12-17 10:51:06 +01:00
Guillaume Loulier
7507d501e5 refactor(platform): add TokenUsage for Ollama 2025-12-17 09:24:44 +01:00
Oskar Stark
1d11bfe0e8 Add .gitignore, .gitattributes and CHANGELOG.md to all chat and platform bridges 2025-12-16 23:17:34 +01:00
Oskar Stark
2a13c083c0 Add .github folder and LICENSE to all platform bridges 2025-12-16 22:41:56 +01:00
Christopher Hertel
ec5e7209fa Decouple Platform Token Usage handling from Agent by introducing new interface 2025-12-12 23:35:00 +01:00
Oskar Stark
93fd9098cb Make closures static where possible
🤖 Generated with [Claude Code](https://claude.com/claude-code)
2025-11-29 19:27:18 +01:00
Oskar Stark
e22571f73d minor: Implement Stringable interface in OllamaMessageChunk 2025-11-29 14:49:41 +01:00
Guillaume Loulier
19b83a89ed fix(platform): OllamaApiCatalog improved 2025-11-27 19:48:49 +01:00
Tim Lochmüller
ab70050396 fix: Wrong method for Ollama model selection 2025-11-27 13:44:44 +01:00
Guillaume Loulier
89aebbc978 [Platform] OllamaApiCatalog improved 2025-11-21 18:00:15 +01:00
Guillaume Loulier
5656d61022 [Platform][Ollama] Introduce OllamaApiCatalog 2025-11-20 09:05:49 +01:00
Christopher Hertel
5bdf50ce5b Unify options key for structured output to response_format 2025-11-14 21:25:09 +01:00
Dominik Leonhardt
13abc0032e Extensions to OllamaMessageChunk and support of thinking 2025-11-01 01:14:23 +01:00
Christopher Hertel
07cc204175 Replace readonly keyword on classes with readonly properties for BC promise 2025-11-01 01:06:06 +01:00
Dominik Leonhardt
3067cd4d04 Adds gpt-oss to Ollama ModelCatalog 2025-10-29 17:46:34 +01:00
Christopher Hertel
4e700e6cff Add stream method to RawResultInterface 2025-10-25 01:08:48 +02:00
Christopher Hertel
29e1721c17 feature #802 [Agent][Platform] Shift structured output from Agent to Platform component (chr-hertel)
This PR was merged into the main branch.

Discussion
----------

[Agent][Platform] Shift structured output from Agent to Platform component

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

The main differentiator between the Agent and the Platform component is that the Agent is designed for multi-step model interaction and this is not the case for structured output. In the beginning the feature was also a bit more heavy than the light platform, since it was using the Serializer, and the Platform not having extension points for it.

Nowadays the Platform uses the Serializer anyways for the contract handling, and relies on a optional EventDispatcher, that now also can provide the needed extension points.

Secondary goals where to introduce a `ResultEvent` and bring back user-land validation for structured output capability of model.

Fixes #791, replaces #794

<img width="1765" height="359" alt="image" src="https://github.com/user-attachments/assets/df9fc29f-fc90-4094-8c2f-10f01535dbfa" />

Commits
-------

8110d13b Shift structured output from Agent to Platform component
2025-10-24 22:22:57 +02:00
Dominic Wagner
c2a130adc1 [Platform] add ollama toolcall support for streaming 2025-10-23 20:42:35 +02:00
Christopher Hertel
d3b5d241f2 Shift structured output from Agent to Platform component 2025-10-23 19:41:32 +02:00
Oskar Stark
fd1dcd3128 [Platform] Fix cs 2025-10-12 16:06:52 +02:00
Christopher Hertel
472264543a Introduce getters and metadata to message classes 2025-10-09 00:39:09 +02:00
Oskar Stark
a55f3cfb59 [Platform] Make ToolCall properties private with getters 2025-10-06 22:25:15 +02:00
Oskar Stark
1425029c03 [AI Bundle][Platform] Add ModelCatalog 2025-09-28 22:58:03 +02:00
Nikolay Mikhaylov
9857d5dbb1 [Platform][OLLAMA] Update tool pattern regex for qwen to support models with size 2025-09-25 01:14:11 +04:00
Oskar Stark
3ede9447d4 [Platform] Remove default model names from constructor parameters 2025-09-13 12:06:56 +02:00
llupa
65f4e74b42 Remove redundant readonly definition 2025-09-12 11:49:37 +02:00
Shaun Johnston
da08ac5c82 [Platform][Ollama] Support streaming output 2025-08-30 00:13:39 +02:00
Christopher Hertel
00a1ce5d8a Fix code style 2025-08-12 19:38:06 +02:00