plandex-ai / plandex

AI driven development in your terminal. Designed for large, real-world tasks.
https://plandex.ai
GNU Affero General Public License v3.0
10.65k stars 740 forks source link

Server error while asking a question about the codebase #154

Open vlad-ivanov-name opened 3 months ago

vlad-ivanov-name commented 3 months ago

Model: claude via openrouter Prompt is a question about code without any instructions to build files

🚨 Server error
  → Error unmarshalling build response
    → Json: cannot unmarshal string into Go struct field ChangesWithLineNums.changes of type []*shared.StreamedChangeWithLineNums
danenania commented 3 months ago

Could you paste in the conversation if you still have it available?

vlad-ivanov-name commented 3 months ago

Unfortunately I deleted the plan but here's the prompt:

  you are provided with mistral-common library source code. it's support code
  for mistral LLM. could you please answer the following question: I'm trying
  to understand how tokenizers work because I will need to implement mistral
  tokenizer in rust. I understand that the input of the tokenizer is text.
  What is output of it? what type in this codebase represents it? also, I'm
  only concerned about simple chat scenario -- no tool use, nothing like that

also I noticed plandex trying to build files:

image