Skip to content

AttributeError: 'NoneType' object has no attribute 'group' #96

@saba7o0o

Description

@saba7o0o

i got this error for every query

2025-06-07 19:55:24,009 - ERROR - Above prompt resulted in error, probably the model's fault: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "C:\Users\Hamza\Desktop\VS code\augmentoolkit-master\augmentoolkit\generation_functions\generation_step_class.py", line 145, in generate
ret = self.output_processor(response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Hamza\Desktop\VS code\augmentoolkit-master\original\steps.py", line 611, in parse_validation_step
determination = decision_pattern.search(response).group(1).strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'

using mistral on ollama and tried lm studio but i got the same error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions