If you connected the button through the editor you can remove your _ready function, since the button is already connected.
now, this is a little working… but a last issue
extends Control
@onready var aiChat = $NobodyWhoChat
@onready var button = $Button
func _on_button_pressed() -> void:
print("send message to LLM...")
aiChat.say("hello, who are you?")
func _on_nobody_who_chat_response_updated(new_token: String) -> void:
print("parcial awnser:", new_token)
func _on_nobody_who_chat_response_finished(response: String) -> void:
print("complete awnser:", response)
when I press the button, the window closes, why? the console doesn’t tell me anything
sounds like a crash with the extension, could be a bug to report to nobodywho github. Maybe there are more settings you need to tune with the node; I haven’t used this addon so I have no experience of what it requires to be functional.
