creamy-angle-16764
07/28/2025, 1:54 PMrough-boots-51677
07/28/2025, 1:54 PMcreamy-angle-16764
07/28/2025, 1:54 PMrough-boots-51677
07/28/2025, 1:55 PMcreamy-angle-16764
07/28/2025, 1:56 PMreasoning_content and it's getting dumped.rough-boots-51677
07/28/2025, 2:01 PMcreamy-angle-16764
07/28/2025, 2:02 PMcreamy-angle-16764
07/28/2025, 2:06 PM{
"role": "assistant",
"content": "<function=execute_bash>\n<parameter=command>pwd && ls -la</parameter>\n</function>"
},
{
"role": "user",
"content": "EXECUTION RESULT of [execute_bash]:\n/workspace\ntotal 4\ndrwxrwxr-x 5 openhands root 160 Jul 27 22:38 .\ndrwxr-xr-x 1 root root 4096 Jul 28 14:01 ..\ndrwxr-xr-x 10 openhands root 320 Jul 28 14:02 .git\ndrwxr-xr-x 3 openhands root 96 May 8 02:24 .vscode\ndrwxr-xr-x 58 openhands root 1856 Jul 28 13:56 llama.cpp\n[The command completed with exit code 0.]\n[Current working directory: /workspace]\n[Python interpreter: /openhands/poetry/openhands-ai-5O4_aCHf-py3.12/bin/python]\n[Command finished with exit code 0]"
},
{
"role": "assistant",
"content": "<function=execute_bash>\n<parameter=command>cd llama.cpp && ls -la</parameter>\n</function>"
},
chat template issue maybe?creamy-angle-16764
07/28/2025, 2:09 PM--jinja and see if it's more talkative.rough-boots-51677
07/28/2025, 2:12 PMcreamy-angle-16764
07/28/2025, 2:12 PMcreamy-angle-16764
07/28/2025, 2:14 PM--jinja. Maybe it's just been trained to be as quiet as possible.little-architect-38123
07/28/2025, 2:15 PMrough-boots-51677
07/28/2025, 2:15 PMcreamy-angle-16764
07/28/2025, 2:17 PMrough-boots-51677
07/28/2025, 2:18 PMlittle-architect-38123
07/28/2025, 2:19 PMcreamy-angle-16764
07/28/2025, 2:19 PMmake docker-dev or anything else that would likely give me fits recently? lollittle-architect-38123
07/28/2025, 2:20 PMrough-boots-51677
07/28/2025, 2:20 PMcreamy-angle-16764
07/28/2025, 2:20 PMlittle-architect-38123
07/28/2025, 2:22 PM# Whether to use native tool calling if supported by the model. Can be true, false, or None by default, which chooses the model's default behavior based on the evaluation.
# ATTENTION: Based on evaluation, enabling native function calling may lead to worse results
# in some scenarios. Use with caution and consider testing with your specific use case.
# https://github.com/All-Hands-AI/OpenHands/pull/4711
#native_tool_calling = Nonerough-boots-51677
07/28/2025, 2:22 PMlittle-architect-38123
07/28/2025, 2:23 PMLLM_NATIVE_TOOL_CALLING=truecreamy-angle-16764
07/28/2025, 2:23 PMcreamy-angle-16764
07/28/2025, 2:24 PMcreamy-angle-16764
07/28/2025, 2:28 PMdeepseek/Qwen3-Coder-480B-A35B-Instruct-UD-Q4_K_XL and that did not work.creamy-angle-16764
07/28/2025, 2:28 PMlittle-architect-38123
07/28/2025, 2:29 PMcreamy-angle-16764
07/28/2025, 2:29 PMrough-boots-51677
07/28/2025, 2:29 PMlittle-architect-38123
07/28/2025, 2:29 PMQwen3-Coder-480B-A35B-Instructcreamy-angle-16764
07/28/2025, 2:29 PMrough-boots-51677
07/28/2025, 2:30 PMlittle-architect-38123
07/28/2025, 2:30 PMrough-boots-51677
07/28/2025, 2:30 PM/creamy-angle-16764
07/28/2025, 2:30 PMlitellm.exceptions.InternalServerError: litellm.InternalServerError: InternalServerError: DeepseekException - {"error":{"code":500,"message":"Unknown method: keys at row 57, column 46:\n {%- set handled_keys = ['type', 'description', 'enum', 'required'] %}\n {%- for json_key in param_fields.keys() | reject(\"in\", handled_keys) %}\n ^\n {%- set normed_json_key = json_key | replace(\"-\", \"_\") | replace(\" \", \"_\") | replace(\"$\", \"\") %}\n at row 57, column 81:\n {%- set handled_keys = ['type', 'description', 'enum', 'required'] %}\n {%- for json_key in param_fields.keys() | reject(\"in\", handled_keys) %}\n ^\n {%- set normed_json_key = json_key | replace(\"-\", \"_\") | replace(\" \", \"_\") | replace(\"$\", \"\") %}\n at row 57, column 13:\n {%- set handled_keys = ['type', 'description', 'enum', 'required'] %}\n {%- for json_key in param_fields.keys() | reject(\"in\", handled_keys) %}\n ^\n {%- set normed_json_key = json_key | replace(\"-\", \"_\") | replace(\" \", \"_\") | replace(\"$\", \"\") %}\n at row 46, column 80:\n {{- '\\n<parameters>' }}\n {%- for param_name, param_fields in tool.parameters.properties|items %}\n ^\n {{- '\\n<parameter>' }}\n at row 46, column 9:\n {{- '\\n<parameters>' }}\n {%- for param_name, param_fields in tool.parameters.properties|items %}\n ^\n {{- '\\n<parameter>' }}\n at row 39, column 29:\n {{- \"<tools>\" }}\n {%- for tool in tools %}\n ^\n {%- if tool.function is defined %}\n at row 39, column 5:\n {{- \"<tools>\" }}\n {%- for tool in tools %}\n ^\n {%- if tool.function is defined %}\n at row 36, column 51:\n{%- endif %}\n{%- if tools is iterable and tools | length > 0 %}\n ^\n {{- \"\\n\\nYou have access to the following functions:\\n\\n\" }}\n at row 36, column 1:\n{%- endif %}\n{%- if tools is iterable and tools | length > 0 %}\n^\n {{- \"\\n\\nYou have access to the following functions:\\n\\n\" }}\n at row 1, column 1:\n{% macro render_item_list(item_list, tag_name='required') %}\n^\n {%- if item_list is defined and item_list is iterable and item_list | length > 0 %}\n","type":"server_error"}}rough-boots-51677
07/28/2025, 2:31 PMcreamy-angle-16764
07/28/2025, 2:31 PMrough-boots-51677
07/28/2025, 2:32 PMlittle-architect-38123
07/28/2025, 2:33 PMlittle-architect-38123
07/28/2025, 2:35 PMcreamy-angle-16764
07/28/2025, 2:36 PMBadRequestError: litellm.BadRequestError: LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=Qwen3-Coder-480B-A35B-Instruct Pass model as E.g. For 'Huggingface' inference endpoints pass in `completion(model='huggingface/starcoder',..)` Learn more: https://docs.litellm.ai/docs/providerscreamy-angle-16764
07/28/2025, 2:36 PMdeepseek prefix?creamy-angle-16764
07/28/2025, 2:36 PMlittle-architect-38123
07/28/2025, 2:36 PMcreamy-angle-16764
07/28/2025, 2:39 PMlitellm.llms.openai.common_utils.OpenAIError: Error code: 500 - {'error': {'code': 500, 'message': 'Unknown method: keys at row 57, column 46:\n {%- set handled_keys = [\'type\', \'description\', \'enum\', \'required\'] %}\n {%- for json_key in param_fields.keys() | reject("in", handled_keys) %}\n ^\n {%- set normed_json_key = json_key | replace("-", "_") | replace(" ", "_") | replace("$", "") %}\n at row 57, column 81:\n {%- set handled_keys = [\'type\', \'description\', \'enum\', \'required\'] %}\n {%- for json_key in param_fields.keys() | reject("in", handled_keys) %}\n ^\n {%- set normed_json_key = json_key | replace("-", "_") | replace(" ", "_") | replace("$", "") %}\n at row 57, column 13:\n {%- set handled_keys = [\'type\', \'description\', \'enum\', \'required\'] %}\n {%- for json_key in param_fields.keys() | reject("in", handled_keys) %}\n ^\n {%- set normed_json_key = json_key | replace("-", "_") | replace(" ", "_") | replace("$", "") %}\n at row 46, column 80:\n {{- \'\\n<parameters>\' }}\n {%- for param_name, param_fields in tool.parameters.properties|items %}\n ^\n {{- \'\\n<parameter>\' }}\n at row 46, column 9:\n {{- \'\\n<parameters>\' }}\n {%- for param_name, param_fields in tool.parameters.properties|items %}\n ^\n {{- \'\\n<parameter>\' }}\n at row 39, column 29:\n {{- "<tools>" }}\n {%- for tool in tools %}\n ^\n {%- if tool.function is defined %}\n at row 39, column 5:\n {{- "<tools>" }}\n {%- for tool in tools %}\n ^\n {%- if tool.function is defined %}\n at row 36, column 51:\n{%- endif %}\n{%- if tools is iterable and tools | length > 0 %}\n ^\n {{- "\\n\\nYou have access to the following functions:\\n\\n" }}\n at row 36, column 1:\n{%- endif %}\n{%- if tools is iterable and tools | length > 0 %}\n^\n {{- "\\n\\nYou have access to the following functions:\\n\\n" }}\n at row 1, column 1:\n{% macro render_item_list(item_list, tag_name=\'required\') %}\n^\n {%- if item_list is defined and item_list is iterable and item_list | length > 0 %}\n', 'type': 'server_error'}}little-architect-38123
07/28/2025, 2:41 PMlittle-architect-38123
07/28/2025, 2:41 PMlittle-architect-38123
07/28/2025, 2:45 PMcreamy-angle-16764
07/28/2025, 2:45 PMlittle-architect-38123
07/28/2025, 2:45 PMcreamy-angle-16764
07/28/2025, 2:45 PMlittle-architect-38123
07/28/2025, 2:49 PMcreamy-angle-16764
07/28/2025, 2:51 PM14:50:27 - openhands:ERROR: retry_mixin.py:99 - litellm.InternalServerError: InternalServerError: OpenAIException - Unknown method: keys at row 57, column 46:
{%- set handled_keys = ['type', 'description', 'enum', 'required'] %}
{%- for json_key in param_fields.keys() | reject("in", handled_keys) %}
^
{%- set normed_json_key = json_key | replace("-", "_") | replace(" ", "_") | replace("$", "") %}
at row 57, column 81:
{%- set handled_keys = ['type', 'description', 'enum', 'required'] %}
{%- for json_key in param_fields.keys() | reject("in", handled_keys) %}
^
{%- set normed_json_key = json_key | replace("-", "_") | replace(" ", "_") | replace("$", "") %}
at row 57, column 13:
{%- set handled_keys = ['type', 'description', 'enum', 'required'] %}
{%- for json_key in param_fields.keys() | reject("in", handled_keys) %}
^
{%- set normed_json_key = json_key | replace("-", "_") | replace(" ", "_") | replace("$", "") %}
at row 46, column 80:
{{- '\n<parameters>' }}
{%- for param_name, param_fields in tool.parameters.properties|items %}
^
{{- '\n<parameter>' }}
at row 46, column 9:
{{- '\n<parameters>' }}
{%- for param_name, param_fields in tool.parameters.properties|items %}
^
{{- '\n<parameter>' }}
at row 39, column 29:
{{- "<tools>" }}
{%- for tool in tools %}
^
{%- if tool.function is defined %}
at row 39, column 5:
{{- "<tools>" }}
{%- for tool in tools %}
^
{%- if tool.function is defined %}
at row 36, column 51:
{%- endif %}
{%- if tools is iterable and tools | length > 0 %}
^
{{- "\n\nYou have access to the following functions:\n\n" }}
at row 36, column 1:
{%- endif %}
{%- if tools is iterable and tools | length > 0 %}
^
{{- "\n\nYou have access to the following functions:\n\n" }}
at row 1, column 1:
{% macro render_item_list(item_list, tag_name='required') %}
^
{%- if item_list is defined and item_list is iterable and item_list | length > 0 %}
. Attempt #3 | You can customize retry values in the configuration.creamy-angle-16764
07/28/2025, 2:51 PMcreamy-angle-16764
07/28/2025, 2:52 PMcreamy-angle-16764
07/28/2025, 2:53 PM./build/bin/llama-server \
--model /data/Qwen3-Coder-480B-A35B-Instruct-GGUF/UD-Q4_K_XL/Qwen3-Coder-480B-A35B-Instruct-UD-Q4_K_XL-00001-of-00006.gguf \
--alias Qwen3-Coder-480B-A35B-Instruct \
--no-webui \
--numa numactl \
--threads 32 \
--ctx-size 131072 \
--n-gpu-layers 63 \
-ot "blk\.(3|4|5|6|7|8|9|10|11|12|13|14)\.ffn_.*=CUDA0" \
-ot exps=CPU \
-ub 4096 -b 4096 \
--seed 3407 \
--prio 3 \
--temp 0.7 \
--top-p 0.8 \
--top-k 20 \
--repeat-penalty 1.05 \
--min-p 0.0 \
--log-colors \
--flash-attn \
--host 0.0.0.0 \
--jinja \
--port 11434creamy-angle-16764
07/28/2025, 2:53 PM7f9759 from Jul 27thlittle-architect-38123
07/28/2025, 2:54 PMcreamy-angle-16764
07/28/2025, 2:54 PMcreamy-angle-16764
07/28/2025, 2:56 PM(base) jesse@larry:~/llama.cpp$ ls -alh /data/Qwen3-Coder-480B-A35B-Instruct-GGUF/UD-Q4_K_XL/
total 257G
drwxrwxr-x 2 jesse jesse 4.0K Jul 24 16:59 .
drwxrwxr-x 5 jesse jesse 4.0K Jul 24 15:07 ..
-rw-rw-r-- 1 jesse jesse 707 Jul 24 15:07 added_tokens.json
-rw-rw-r-- 1 jesse jesse 1.1K Jul 24 15:07 config.json
-rw-rw-r-- 1 jesse jesse 180 Jul 24 15:07 generation_config.json
-rw-rw-r-- 1 jesse jesse 46G Jul 24 15:29 Qwen3-Coder-480B-A35B-Instruct-UD-Q4_K_XL-00001-of-00006.gguf
-rw-rw-r-- 1 jesse jesse 46G Jul 24 15:52 Qwen3-Coder-480B-A35B-Instruct-UD-Q4_K_XL-00002-of-00006.gguf
-rw-rw-r-- 1 jesse jesse 47G Jul 24 16:14 Qwen3-Coder-480B-A35B-Instruct-UD-Q4_K_XL-00003-of-00006.gguf
-rw-rw-r-- 1 jesse jesse 46G Jul 24 16:36 Qwen3-Coder-480B-A35B-Instruct-UD-Q4_K_XL-00004-of-00006.gguf
-rw-rw-r-- 1 jesse jesse 47G Jul 24 16:59 Qwen3-Coder-480B-A35B-Instruct-UD-Q4_K_XL-00005-of-00006.gguf
-rw-rw-r-- 1 jesse jesse 28G Jul 24 17:12 Qwen3-Coder-480B-A35B-Instruct-UD-Q4_K_XL-00006-of-00006.gguf
-rw-rw-r-- 1 jesse jesse 29K Jul 24 15:07 qwen3_xml_tool_parser.py
-rw-rw-r-- 1 jesse jesse 614 Jul 24 15:07 special_tokens_map.json
-rw-rw-r-- 1 jesse jesse 13K Jul 24 15:07 tokenizer_config.json
-rw-rw-r-- 1 jesse jesse 11M Jul 24 15:07 tokenizer.json
-rw-rw-r-- 1 jesse jesse 2.7M Jul 24 15:07 vocab.json
(base) jesse@larry:~/llama.cpp$rough-boots-51677
07/28/2025, 2:56 PMcurl http://localhost:8080/v1/chat/completions -d '{
"model": "Qwen3-Coder-480B-A35B-Instruct",
"tools": [
{
"type":"function",
"function":{
"name":"python",
"description":"Runs code in an ipython interpreter and returns the result of the execution after 60 seconds.",
"parameters":{
"type":"object",
"properties":{
"code":{
"type":"string",
"description":"The code to run in the ipython interpreter."
}
},
"required":["code"]
}
}
}
],
"messages": [
{
"role": "user",
"content": "Print a hello world message with python."
}
]
}'creamy-angle-16764
07/28/2025, 3:00 PM(base) jesse@Jesses-MacBook-Pro 07_27_2025_agentic_audit_video % curl http://larry:11434/v1/chat/completions -d '{
"model": "Qwen3-Coder-480B-A35B-Instruct",
"tools": [
{
"type":"function",
"function":{
"name":"python",
"description":"Runs code in an ipython interpreter and returns the result of the execution after 60 seconds.",
"parameters":{
"type":"object",
"properties":{
"code":{
"type":"string",
"description":"The code to run in the ipython interpreter."
}
},
"required":["code"]
}
}
}
],
"messages": [
{
"role": "user",
"content": "Print a hello world message with python."
}
]
}'
{"error":{"code":500,"message":"Unknown method: keys at row 57, column 46:\n {%- set handled_keys = ['type', 'description', 'enum', 'required'] %}\n {%- for json_key in param_fields.keys() | reject(\"in\", handled_keys) %}\n ^\n {%- set normed_json_key = json_key | replace(\"-\", \"_\") | replace(\" \", \"_\") | replace(\"$\", \"\") %}\n at row 57, column 81:\n {%- set handled_keys = ['type', 'description', 'enum', 'required'] %}\n {%- for json_key in param_fields.keys() | reject(\"in\", handled_keys) %}\n ^\n {%- set normed_json_key = json_key | replace(\"-\", \"_\") | replace(\" \", \"_\") | replace(\"$\", \"\") %}\n at row 57, column 13:\n {%- set handled_keys = ['type', 'description', 'enum', 'required'] %}\n {%- for json_key in param_fields.keys() | reject(\"in\", handled_keys) %}\n ^\n {%- set normed_json_key = json_key | replace(\"-\", \"_\") | replace(\" \", \"_\") | replace(\"$\", \"\") %}\n at row 46, column 80:\n {{- '\\n<parameters>' }}\n {%- for param_name, param_fields in tool.parameters.properties|items %}\n ^\n {{- '\\n<parameter>' }}\n at row 46, column 9:\n {{- '\\n<parameters>' }}\n {%- for param_name, param_fields in tool.parameters.properties|items %}\n ^\n {{- '\\n<parameter>' }}\n at row 39, column 29:\n {{- \"<tools>\" }}\n {%- for tool in tools %}\n ^\n {%- if tool.function is defined %}\n at row 39, column 5:\n {{- \"<tools>\" }}\n {%- for tool in tools %}\n ^\n {%- if tool.function is defined %}\n at row 36, column 51:\n{%- endif %}\n{%- if tools is iterable and tools | length > 0 %}\n ^\n {{- \"\\n\\nYou have access to the following functions:\\n\\n\" }}\n at row 36, column 1:\n{%- endif %}\n{%- if tools is iterable and tools | length > 0 %}\n^\n {{- \"\\n\\nYou have access to the following functions:\\n\\n\" }}\n at row 1, column 1:\n{% macro render_item_list(item_list, tag_name='required') %}\n^\n {%- if item_list is defined and item_list is iterable and item_list | length > 0 %}\n","type":"server_error"}}%little-architect-38123
07/28/2025, 3:01 PMcreamy-angle-16764
07/28/2025, 3:02 PMcreamy-angle-16764
07/28/2025, 3:03 PMcreamy-angle-16764
07/28/2025, 3:03 PMrough-boots-51677
07/28/2025, 3:04 PMrough-boots-51677
07/28/2025, 3:04 PMrough-boots-51677
07/28/2025, 3:04 PM--chat-template chatmlrough-boots-51677
07/28/2025, 3:04 PMI don't know what I'm missing.
Probably 3-5% improvement, and faster executions.creamy-angle-16764
07/28/2025, 3:05 PMcreamy-angle-16764
07/28/2025, 3:05 PMlittle-architect-38123
07/28/2025, 3:06 PM