maryasov / ollama-models-instruct-for-cline

5 stars 0 forks source link

It stopped working!! #2

Open macCesar opened 1 week ago

macCesar commented 1 week ago

All of a sudden, it stopped working on certain tasks. For other tasks, it repeatedly tries the same action, such as reading a file.

Most of the time, it throws this error, and after 'fixing' it, the process continues:

[ERROR] You did not use a tool in your previous response! Please retry with a tool use.

# Reminder: Instructions for Tool Use

Tool uses are formatted using XML-style tags. The tool name is enclosed in opening and closing tags, and each parameter is similarly enclosed within its own set of tags. Here's the structure:

<tool_name>
<parameter1_name>value1</parameter1_name>
<parameter2_name>value2</parameter2_name>
...
</tool_name>

For example:

<attempt_completion>
<result>
I have completed the task...
</result>
</attempt_completion>

Always adhere to this format for all tool uses to ensure proper parsing and execution.

# Next Steps

If you have completed the user's task, use the attempt_completion tool. 
If you require additional information from the user, use the ask_followup_question tool. 
Otherwise, if you have not completed the task and do not need additional information, then proceed with the next step of the task. 
(This is an automated message, so do not respond to it conversationally.)

<environment_details>
# VSCode Visible Files
app/Http/Requests/Admin/FallaRondineroRequest.php

# VSCode Open Tabs
app/Http/Requests/Admin/FallaRondineroRequest.php
</environment_details>
maryasov commented 3 days ago

All of a sudden, it stopped working on certain tasks. For other tasks, it repeatedly tries the same action, such as reading a file.

There was no any updates on this model for 12 days. There may be some changes in the system prompt or Cline tools. I'll check it out. If necessary, I will make changes to the model instructions.

macCesar commented 3 days ago

Thanks, man. I really appreciate it.

maryasov commented 3 days ago

There may be some changes in the system prompt or Cline tools.

It looks like nothing has changed on the Cline side either since this model was published. I will try to upload more variants of the model with different instruction sets soon. Since the instruction templates are contained in separate layers, the whole model will not need to be downloaded over, only the layers with the different templates will be downloaded.

zuli12-dev commented 3 days ago

@maryasov Thanks you are a Hero! There have been some new qwen 2.5 models released, maybe you want to check them out too? https://ollama.com/library/qwen2.5-coder

Anyway, thanks to you as your models are the only ones i am aware of that actually works without looping or crashing randomly.

All the best!