AI Logging settings form implies possibility of logging only LLM outputs

Created on 5 November 2024, about 2 months ago

Problem/Motivation

The settings form for the AI Logging module allows for the Log response setting to be enabled when the Log requests setting is unset. However, the LogPostRequestEventSubscriber::logPostRequest() method will only ever log an output if prompt logging is enabled. This could cause confusion if users attempt to log only outputs.

Steps to reproduce

Enable the module and its dependencies. Visit the settings form and set ONLY the Log response setting. Carry out an action that would be logged by the module. No log will be generated.

Proposed resolution

Update the implementation of the states API to hide all settings unless Log requests is set, reflecting the actual functionality of the module.

🐛 Bug report
Status

Active

Version

1.0

Component

Other Submodules

Created by

🇬🇧United Kingdom MrDaleSmith

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024