Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lms create does not produce a functional sample. #171

Open
gcintas opened this issue Jan 15, 2025 · 0 comments
Open

lms create does not produce a functional sample. #171

gcintas opened this issue Jan 15, 2025 · 0 comments

Comments

@gcintas
Copy link

gcintas commented Jan 15, 2025

Provider LM Studio 0.3.6 build
Runtime Node.js v18.12.1

Steps to reproduce:

lms create "Node.js with TypeScript"

? Project Name aaaa

cd aaaa
npm i --save-dev @types/node
npm start

Output:

[Error:

   ┌ Error ───────────────────────────────────────────────────────────────────────────────────────────────────┐
   │                                                                                                          │
   │    Field with key llm.prediction.promptTemplate does not satisfy the schema:[                            │
   │     {                                                                                                    │
   │       "code": "invalid_type",                                                                            │
   │       "expected": "object",                                                                              │
   │       "received": "undefined",                                                                           │
   │       "path": [                                                                                          │
   │         "jinjaPromptTemplate",                                                                           │
   │         "inputConfig"                                                                                    │
   │       ],                                                                                                 │
   │       "message": "Required"                                                                              │
   │     }                                                                                                    │
   │   ]                                                                                                      │
   │                                                                                                          │
   │                                                                                                          │
   │      </> STACK TRACE                                                                                     │
   │                                                                                                          │
   │       at predictWithAnyModel (file:///C:/Code/Git/ECAS-Reportes/New%20folder/test/dist/index.js:38:30)   │
   │       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)                      │
   │       at async file:///C:/Code/Git/ECAS-Reportes/New%20folder/test/dist/index.js:5:1                     │
   │                                                                                                          │
   └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant