fix: no longer require Query for invoking embedding

This commit is contained in:
Junyan Qin
2025-07-12 21:23:19 +08:00
parent de76fed25a
commit cbe297dc59
3 changed files with 0 additions and 3 deletions

View File

@@ -185,7 +185,6 @@ class EmbeddingModelsService:
runtime_embedding_model = await self.ap.model_mgr.init_runtime_embedding_model(model_data)
await runtime_embedding_model.requester.invoke_embedding(
query=None,
model=runtime_embedding_model,
input_text='Hello, world!',
extra_args={},