Skip to content

Commit 608ab4e

Browse files
committed
feat: add LmStudio auth description;fix LmStudio ChatModel label
1 parent 1150b8b commit 608ab4e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

packages/components/credentials/LmStudioApi.credential.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ class LMStudioApi implements INodeCredential {
44
label: string
55
name: string
66
version: number
7+
description: string
78
inputs: INodeParams[]
89

910
constructor() {
1011
this.label = 'LM Studio API'
1112
this.name = 'lmStudioApi'
1213
this.version = 1.0
14+
this.description =
15+
'Refer to <a target="_blank" href="https://lmstudio.ai/docs/developer/core/authentication">official guide</a> on how to get access token on LmStudio'
16+
1317
this.inputs = [
1418
{
1519
label: 'LM Studio Api Key',

packages/components/nodes/chatmodels/ChatLmStudio/ChatLmStudio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ChatLmStudio_ChatModels implements INode {
1717
inputs: INodeParams[]
1818

1919
constructor() {
20-
this.label = 'Chat LMStudio'
20+
this.label = 'LMStudio'
2121
this.name = 'chatLmStudio'
2222
this.version = 3.0
2323
this.type = 'ChatLmStudio'

0 commit comments

Comments
 (0)