Skip to content

Commit 5f1f612

Browse files
committed
Rename LMStudio to LmStudio
1 parent 6bdbd37 commit 5f1f612

File tree

14 files changed

+30
-30
lines changed

14 files changed

+30
-30
lines changed

examples/lmstudio/chat.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*/
1111

1212
use Symfony\AI\Agent\Agent;
13-
use Symfony\AI\Platform\Bridge\LMStudio\Completions;
14-
use Symfony\AI\Platform\Bridge\LMStudio\PlatformFactory;
13+
use Symfony\AI\Platform\Bridge\LmStudio\Completions;
14+
use Symfony\AI\Platform\Bridge\LmStudio\PlatformFactory;
1515
use Symfony\AI\Platform\Message\Message;
1616
use Symfony\AI\Platform\Message\MessageBag;
1717

examples/lmstudio/image-input-binary.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*/
1111

1212
use Symfony\AI\Agent\Agent;
13-
use Symfony\AI\Platform\Bridge\LMStudio\Completions;
14-
use Symfony\AI\Platform\Bridge\LMStudio\PlatformFactory;
13+
use Symfony\AI\Platform\Bridge\LmStudio\Completions;
14+
use Symfony\AI\Platform\Bridge\LmStudio\PlatformFactory;
1515
use Symfony\AI\Platform\Capability;
1616
use Symfony\AI\Platform\Message\Content\Image;
1717
use Symfony\AI\Platform\Message\Message;

src/ai-bundle/src/AiBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
use Symfony\AI\Platform\Bridge\Anthropic\PlatformFactory as AnthropicPlatformFactory;
2929
use Symfony\AI\Platform\Bridge\Azure\OpenAi\PlatformFactory as AzureOpenAiPlatformFactory;
3030
use Symfony\AI\Platform\Bridge\Gemini\PlatformFactory as GeminiPlatformFactory;
31-
use Symfony\AI\Platform\Bridge\LMStudio\PlatformFactory as LMStudioPlatformFactory;
31+
use Symfony\AI\Platform\Bridge\LmStudio\PlatformFactory as LmStudioPlatformFactory;
3232
use Symfony\AI\Platform\Bridge\Mistral\PlatformFactory as MistralPlatformFactory;
3333
use Symfony\AI\Platform\Bridge\OpenAi\PlatformFactory as OpenAiPlatformFactory;
3434
use Symfony\AI\Platform\Bridge\OpenRouter\PlatformFactory as OpenRouterPlatformFactory;
@@ -271,7 +271,7 @@ private function processPlatformConfig(string $type, array $platform, ContainerB
271271
if ('lmstudio' === $type) {
272272
$platformId = 'symfony_ai.platform.lmstudio';
273273
$definition = (new Definition(Platform::class))
274-
->setFactory(LMStudioPlatformFactory::class.'::create')
274+
->setFactory(LmStudioPlatformFactory::class.'::create')
275275
->setLazy(true)
276276
->addTag('proxy', ['interface' => PlatformInterface::class])
277277
->setArguments([

src/platform/src/Bridge/LMStudio/Completions.php renamed to src/platform/src/Bridge/LmStudio/Completions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Platform\Bridge\LMStudio;
12+
namespace Symfony\AI\Platform\Bridge\LmStudio;
1313

1414
use Symfony\AI\Platform\Capability;
1515
use Symfony\AI\Platform\Model;

src/platform/src/Bridge/LMStudio/Completions/ModelClient.php renamed to src/platform/src/Bridge/LmStudio/Completions/ModelClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Platform\Bridge\LMStudio\Completions;
12+
namespace Symfony\AI\Platform\Bridge\LmStudio\Completions;
1313

14-
use Symfony\AI\Platform\Bridge\LMStudio\Completions;
14+
use Symfony\AI\Platform\Bridge\LmStudio\Completions;
1515
use Symfony\AI\Platform\Model;
1616
use Symfony\AI\Platform\ModelClientInterface as PlatformResponseFactory;
1717
use Symfony\AI\Platform\Result\RawHttpResult;

src/platform/src/Bridge/LMStudio/Completions/ResultConverter.php renamed to src/platform/src/Bridge/LmStudio/Completions/ResultConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Platform\Bridge\LMStudio\Completions;
12+
namespace Symfony\AI\Platform\Bridge\LmStudio\Completions;
1313

14-
use Symfony\AI\Platform\Bridge\LMStudio\Completions;
14+
use Symfony\AI\Platform\Bridge\LmStudio\Completions;
1515
use Symfony\AI\Platform\Bridge\OpenAi\Gpt\ResultConverter as OpenAiResponseConverter;
1616
use Symfony\AI\Platform\Model;
1717
use Symfony\AI\Platform\Result\RawResultInterface;

src/platform/src/Bridge/LMStudio/Embeddings.php renamed to src/platform/src/Bridge/LmStudio/Embeddings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Platform\Bridge\LMStudio;
12+
namespace Symfony\AI\Platform\Bridge\LmStudio;
1313

1414
use Symfony\AI\Platform\Model;
1515

src/platform/src/Bridge/LMStudio/Embeddings/ModelClient.php renamed to src/platform/src/Bridge/LmStudio/Embeddings/ModelClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Platform\Bridge\LMStudio\Embeddings;
12+
namespace Symfony\AI\Platform\Bridge\LmStudio\Embeddings;
1313

14-
use Symfony\AI\Platform\Bridge\LMStudio\Embeddings;
14+
use Symfony\AI\Platform\Bridge\LmStudio\Embeddings;
1515
use Symfony\AI\Platform\Model;
1616
use Symfony\AI\Platform\ModelClientInterface as PlatformResponseFactory;
1717
use Symfony\AI\Platform\Result\RawHttpResult;

src/platform/src/Bridge/LMStudio/Embeddings/ResultConverter.php renamed to src/platform/src/Bridge/LmStudio/Embeddings/ResultConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Platform\Bridge\LMStudio\Embeddings;
12+
namespace Symfony\AI\Platform\Bridge\LmStudio\Embeddings;
1313

14-
use Symfony\AI\Platform\Bridge\LMStudio\Embeddings;
14+
use Symfony\AI\Platform\Bridge\LmStudio\Embeddings;
1515
use Symfony\AI\Platform\Exception\RuntimeException;
1616
use Symfony\AI\Platform\Model;
1717
use Symfony\AI\Platform\Result\RawResultInterface;

src/platform/src/Bridge/LMStudio/PlatformFactory.php renamed to src/platform/src/Bridge/LmStudio/PlatformFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Platform\Bridge\LMStudio;
12+
namespace Symfony\AI\Platform\Bridge\LmStudio;
1313

14-
use Symfony\AI\Platform\Bridge\LMStudio\Embeddings\ModelClient;
14+
use Symfony\AI\Platform\Bridge\LmStudio\Embeddings\ModelClient;
1515
use Symfony\AI\Platform\Contract;
1616
use Symfony\AI\Platform\Platform;
1717
use Symfony\Component\HttpClient\EventSourceHttpClient;

0 commit comments

Comments
 (0)