Skip to content

Commit 36dfc1f

Browse files
committed
[Platform] Openrouter fix last typos
1 parent 6cf6acf commit 36dfc1f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/openrouter/chat-gemini.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
$platform = PlatformFactory::create(env('OPENROUTER_KEY'), http_client());
1919
$model = 'google/gemini-2.0-flash-exp:free';
20-
// In case free is running into 429 rate limit errors (note: it is a 404 error code in openrouter api), you can use the paid model:
20+
// In case free is running into 404 errors, you can use the paid model:
2121
// $model = 'google/gemini-2.0-flash-lite-001';
2222

2323
$messages = new MessageBag(

src/platform/src/Bridge/OpenRouter/Embeddings/ModelClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Symfony\Contracts\HttpClient\HttpClientInterface;
2020

2121
/**
22-
* @author Valtteri R <valtzu@gmail.com>
22+
* @author Tim Lochmüller <tim@fruit-lab.de>
2323
*/
2424
final class ModelClient implements ModelClientInterface
2525
{

src/platform/src/Bridge/OpenRouter/Embeddings/ResultConverter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use Symfony\AI\Platform\Vector\Vector;
2121

2222
/**
23-
* @author Valtteri R <valtzu@gmail.com>
23+
* @author Tim Lochmüller <tim@fruit-lab.de>
2424
*/
2525
final class ResultConverter implements ResultConverterInterface
2626
{

src/platform/src/Bridge/OpenRouter/ModelCatalog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(array $additionalModels = [])
3030
// Models are dynamically available and identified by provider/model format
3131
// Capabilities are not set in this model catalog
3232

33-
// Modelle
33+
// Models
3434
'openrouter/polaris-alpha' => ['class' => Model::class, 'capabilities' => []],
3535
'moonshotai/kimi-k2-thinking' => ['class' => Model::class, 'capabilities' => []],
3636
'amazon/nova-premier-v1' => ['class' => Model::class, 'capabilities' => []],

0 commit comments

Comments
 (0)