DEV Community

Discussion on: I made a Discord bot with lmstudio.js!

Collapse
 
ein_57cd979be5cb96304eab5 profile image
Ein

when I try to load my model, I get this error, and yes lm-studio and sdk is up to date

`Using model:l3.1-8b-dark-planet-slush to respond!
W [LMStudioClient][LLM][ClientPort] Produced communication warning: Received invalid result for rpc, endpointName = getModelInfo, result = {"descriptor":{"identifier":"l3.1-8b-dark-planet-slush","path":"Triangle104/L3.1-8B-Dark-Planet-Slush-Q4_K_S-GGUF/l3.1-8b-dark-planet-slush-q4_k_s.gguf"},"instanceReference":"pI9KTVW/SiRxrnw7tBHbhcSs"}. Zod error:

  • result.sessionIdentifier: Required

This is usually caused by communication protocol incompatibility. Please make sure you are using the up-to-date versions of the SDK and LM Studio.`

Collapse
 
mrdjohnson profile image
DJ Johnson

This happened with someone on github as well, it sounds like the scaffolding code changed maybe? doing a new lms create and moving this code into the new scaffolding seems to work.