mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-24 09:26:48 +08:00
Add Go service/handler tests for API contract parity (#16905)
This commit is contained in:
@@ -95,7 +95,9 @@ describe('parseModelUuid — right-anchored', () => {
|
||||
});
|
||||
|
||||
test('preserves embedded "@" in the model name (LM Studio)', () => {
|
||||
expect(parseModelUuid('text-embedding-nomic-embed-text-v1.5@q8_0@lmstudio')).toEqual({
|
||||
expect(
|
||||
parseModelUuid('text-embedding-nomic-embed-text-v1.5@q8_0@lmstudio'),
|
||||
).toEqual({
|
||||
modelName: 'text-embedding-nomic-embed-text-v1.5@q8_0',
|
||||
factoryId: 'lmstudio',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user