nobodywho-ooo/nobodywho

[BUG] nobodywho.gdextension file the debug references the release dll

Chiusa

#176 aperta il 16 giu 2025

 (2 commenti) (0 reazioni) (0 assegnatari)Rust (72 fork)auto 404
buggood first issue🤖 Godot

Metriche repository

Star
 (1036 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Describe the bug in the nobodywho/godot/nobodywho.gdextension file the debug references the release dll windows.debug.x86_64 = "res://addons/nobodywho/nobodywho-godot-x86_64-pc-windows-msvc-release.dll"

It should reference the included "res://addons/nobodywho/nobodywho-godot-x86_64-pc-windows-msvc-debug.dll" file instead. Otherwise the errors don't contain stack trace.

To Reproduce Steps to reproduce the behavior:

  1. Use the Qwen3-4B-Q4_K_M.gguf model. Send a message to NoBodyWhoChat. This will produce the know template error. Out of box the error looks like this.

E 0:00:05:656 nobodywho_godot::NobodyWhoChat::start_worker::{{closure}}::{{closure}}::{{closure}}: RenderChatTemplateError(Error { kind: InvalidOperation, detail: "cannot convert number to u32", name: "", line: 18 }) <C++ Source> godot\src\lib.rs:217 @ nobodywho_godot::NobodyWhoChat::start_worker::{{closure}}::{{closure}}::{{closure}}()

Expected behavior After changing it do the debug dll, restart godot and send a message to nobody who, we now get a more detailed error.

E 0:00:04:895 nobodywho_godot::NobodyWhoChat::start_worker::{{closure}}::{{closure}}::{{closure}}: RenderChatTemplateError(Error { kind: InvalidOperation, detail: "cannot convert number to u32", name: "", line: 18 }

---------------------------------- ----------------------------------- 15 | {%- endif %} 16 | {%- endif %} 17 | {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %} 18 > {%- for index in range(ns.last_query_index, -1, -1) %} i ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ invalid operation 19 | {%- set message = messages[index] %} 20 | {%- if ns.multi_step_tool and message.role == "user" and not('<tool_response>' in message.content and '</tool_response>' in message.content) %} 21 | {%- set ns.multi_step_tool = false %}

Referenced variables: {
    messages: [
        {
            "content": "",
            "role": "system",
        },
        {
            "content": "test",
            "role": "user",
        },
    ],
    namespace: minijinja::functions::builtins::namespace,
    ns: {
        "last_query_index": 1,
        "multi_step_tool": true,
    },
    range: minijinja::functions::builtins::range,
}
-------------------------------------------------------------------------------
)
  <C++ Source>  godot\src\lib.rs:217 @ nobodywho_godot::NobodyWhoChat::start_worker::{{closure}}::{{closure}}::{{closure}}()


**Environment:**
 - OS: Windows
 - Godot Version: 4.4.1
 - NobodyWho Version: The latest version installed 15/06/2025 from godot asset library (sorry can't find the version number)
 - LLM Model: Qwen3-4B-Q4_K_M.gguf

Guida contributor