This commit resolves an issue where the LoggerChatModel class was incorrectly
attempting to call instances of AIModel directly as if they were callable objects.
Changes include:
- Modified __call__ method to explicitly use the invoke method when calling AI models.
- Updated constructor documentation to clarify the type of object expected.
- Added additional debug logging for better traceability of method entry and exit points.
These changes ensure that the LoggerChatModel class aligns with the intended design
patterns and correctly utilizes the AIModel instances, improving the maintainability
and robustness of the codebase.
18 lines
No EOL
198 B
Text
18 lines
No EOL
198 B
Text
*.csv
|
|
__pycache__/**
|
|
.idea/**
|
|
open_ai_calls.log
|
|
test*
|
|
openaiSelenium*
|
|
open_ai_calls.json
|
|
_*
|
|
.venv
|
|
generated_cv*
|
|
.vscode
|
|
chrome_profile
|
|
answers.json
|
|
data*
|
|
*virtual
|
|
data_folder/*.yaml
|
|
app_log.log
|
|
venv |