# Agent prompter Node is throwing PythonNodeRuntimeException error

**URL:** <https://forum.knime.com/t/agent-prompter-node-is-throwing-pythonnoderuntimeexception-error/89213>\
**Category:** KNIME Extensions\
**Tags:** python, deep-learning, bug, text-processing\
**Created:** [July 21, 2025, 9:57am UTC](https://forum.knime.com/t/agent-prompter-node-is-throwing-pythonnoderuntimeexception-error/89213 "2025-07-21T09:57:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![akupadhyay](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@akupadhyay](https://forum.knime.com/u/akupadhyay)\
**Post date:** [July 21, 2025, 9:57am UTC](https://forum.knime.com/t/agent-prompter-node-is-throwing-pythonnoderuntimeexception-error/89213/1 "2025-07-21T09:57:19Z")

</div>

Hello users,

I am facing an issue with Agent Prompter node. It is giving me an error → Execute failed: (“PythonNodeRuntimeException”):

I am using local GPT4All LLM as input LLM model for Agent Prompter node.

Can anyone help me with this issue. Other KNIME AI Extension nodes are working fine.

Thank you.

---

<div class="post-metadata">

**Author:** ![MartinDDDD](https://forum-cdn.knime.com/user_avatar/forum.knime.com/martindddd/32/69988_2.png) [@MartinDDDD](https://forum.knime.com/u/MartinDDDD)\
**Post date:** [July 21, 2025, 11:01am UTC](https://forum.knime.com/t/agent-prompter-node-is-throwing-pythonnoderuntimeexception-error/89213/2 "2025-07-21T11:01:48Z")

</div>

Hey there,

Which model are you using?

It could be related to the model if:

- it has not been trained using OpenAI chat model template
- Does not support function calling
- Might be not performing well enough for function calling due to smaller size…

---

<div class="post-metadata">

**Author:** ![akupadhyay](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@akupadhyay](https://forum.knime.com/u/akupadhyay)\
**Post date:** [July 21, 2025, 12:23pm UTC](https://forum.knime.com/t/agent-prompter-node-is-throwing-pythonnoderuntimeexception-error/89213/3 "2025-07-21T12:23:20Z")

</div>

Hello Martin,

Thanks for the reply. I presume its because the model I am using is a local model using GPT4All Nous Hermes Mistral which is not OpenAI. So, that might be the issue.

Thanks for clarifying.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [July 28, 2025, 12:23pm UTC](https://forum.knime.com/t/agent-prompter-node-is-throwing-pythonnoderuntimeexception-error/89213/4 "2025-07-28T12:23:28Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![forum](https://forum-cdn.knime.com/user_avatar/forum.knime.com/forum/32/77398_2.png) [@forum](https://forum.knime.com/u/forum)\
**Post date:** [September 17, 2025, 4:54pm UTC](https://forum.knime.com/t/agent-prompter-node-is-throwing-pythonnoderuntimeexception-error/89213/5 "2025-09-17T16:54:07Z")

</div>

**Internal ticket ID:** AP-24715  
**Summary:** Local GPT4All models fail with unhelpful error message in Agent Prompter  
**Fix version(s):** 5.8.0
