Skip to content

Commit 27f3eff

Browse files
committed
fix(core): update languageModel and textEmbeddingModel method signatures to accept string type
1 parent 56e1524 commit 27f3eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/services/cortex-luna-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ export class CortexLunaService extends Service {
3030
return this.ctx.effect(() => dispose)
3131
}
3232

33-
languageModel(id: `${string}:${string}`) {
33+
languageModel(id: string) {
3434
return this._registry.languageModel(id)
3535
}
3636

37-
textEmbeddingModel(id: `${string}:${string}`) {
37+
textEmbeddingModel(id: string) {
3838
return this._registry.textEmbeddingModel(id)
3939
}
4040

0 commit comments

Comments
 (0)