File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ import path from 'path';
137
137
138
138
const ${ memoryNameCamelCase } = (): MemoryI => ({
139
139
name: '${ memoryNameSlugified } ',
140
- description: ' ${ memoryInfo . description || '' } ' ,
140
+ description: ${ JSON . stringify ( memoryInfo . description ) || '' } ,
141
141
config: {
142
142
useGitRepo: ${ memoryInfo . useGitRepo } ,
143
143
dirToTrack: path.posix.join(${ memoryFilesDir
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export async function createPipe() {
38
38
name : ( ) =>
39
39
p . text ( {
40
40
message : 'Name of the pipe' ,
41
- placeholder : 'AI Pipe Agent ' ,
41
+ placeholder : 'ai-agent-pipe ' ,
42
42
validate : value => {
43
43
const result = pipeNameSchema . safeParse ( value ) ;
44
44
if ( ! result . success ) {
@@ -135,7 +135,7 @@ const ${pipeNameCamelCase} = (): PipeI => ({
135
135
// Replace with your API key https://langbase.com/docs/api-reference/api-keys
136
136
apiKey: process.env.LANGBASE_API_KEY!,
137
137
name: '${ pipeNameSlugified } ',
138
- description: ' ${ pipeInfo . description || '' } ' ,
138
+ description: ${ JSON . stringify ( pipeInfo . description ) || '' } ,
139
139
status: '${ pipeInfo . status } ',
140
140
model: 'openai:gpt-4o-mini',
141
141
stream: true,
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ const ${camelCaseNameToolName} = (): ToolI => ({
110
110
type: 'function' as const,
111
111
function: {
112
112
name: '${ camelCaseNameToolName } ',
113
- description: ' ${ description } ' ,
113
+ description: ${ JSON . stringify ( description ) || '' } ,
114
114
parameters: {},
115
115
},
116
116
});
You canβt perform that action at this time.
0 commit comments