Skip to content

Make prompt and reponse logs DEBUG level #98

@lotif

Description

@lotif

Describe the bug

Currently, prompts and model responses are logged at INFO level, which makes them available at the HF console. This is not very good for external users who don't want the data they input into the system logged anywhere.

To Reproduce

Run Aspis on HF spaces with the logs open.

Expected behavior

Those logs should not appear on production, only development. To make that work, change those logs to DEBUG, make sure HF Spaces logs are on INFO level and change the dev instructions to include DEBUG logging.

Screenshots

Image

Version

v0.0.2

Additional context

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions