We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d3f61 commit 5fd042cCopy full SHA for 5fd042c
docs/development/getting-started.md
@@ -101,11 +101,11 @@ function listenModel(ctx: Context) {
101
service.getAllModels(ModelType.llm).map((m) => Schema.const(m))
102
103
ctx.on('chatluna/model-added', (service) => {
104
- ctx.schema.set('model', Schema.union(ctx.chatluna.getModelNames(service)))
+ ctx.schema.set('model', Schema.union(getModelNames(service)))
105
})
106
107
ctx.on('chatluna/model-removed', (service) => {
108
109
110
111
ctx.on('ready', () => {
0 commit comments