NeMo-Guardrails icon indicating copy to clipboard operation
NeMo-Guardrails copied to clipboard

Provide a clear error message when no main model is set.

Open drazvan opened this issue 1 year ago • 0 comments

If no main LLM model is configured, the following error might be triggered:

ERROR:nemoguardrails.actions.action_dispatcher:Error 'NoneType' object has no attribute 'agenerate_prompt'

This PR adds a clear message for this error.

Related to #204.

drazvan avatar Dec 14 '23 13:12 drazvan