Skip to content

Make error logging configurable #412

@joecorkerton

Description

@joecorkerton

Currently if there is an error with my LLM call, Langchain generates a Logger.error message

Logger.error("Error during chat call. Reason: #{inspect(reason)}")

As a consumer of this package, I should have the choice about what logging I want to be done in the case of different errors. The error level logs here should be removable so I have the option to decide how to configure my logs

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