-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
name: 🐛 Bug Report
about: Create a report to help us improve FireForm.
title: "[BUG]: Runtime TypeError in PDF fill orchestration"
labels: bug
assignees: @Aryama-srivastav
⚡️ Describe the Bug
run_pdf_fill_process in src/main.py calls Fill with a constructor argument (user_input=...) even though Fill.__init__ in src/backend.py does not accept that argument. This causes a runtime TypeError and stops the PDF generation workflow.
👣 Steps to Reproduce
- Start the project environment (Docker or local Python setup).
- Run the PDF fill flow through
run_pdf_fill_process(...)(for example viasrc/main.pyorrun_fireform.py). - Provide any valid
user_input,definitions, and existing PDF path. - Observe the runtime error before the form is filled.
📉 Expected Behavior
The orchestration should call the fill logic using a valid interface, complete extraction/filling, and return the output PDF path without raising a constructor/signature TypeError.
🖥️ Environment Information
- OS: (e.g. Ubuntu 22.04, macOS M2, Windows 11)
- Docker/Compose Version: (output of
docker --versionanddocker compose version) - Ollama Model used: (e.g.
mistral/ Mistral-7B)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels