Disable Pipelines for Task Models
Feature Request
Is your feature request related to a problem? Please describe. I monitor usage statistics using langfuse and the associated pipeline. However, in langfuse also all requests from task models show up and there is no way of filtering these requests from tasks models.
Describe the solution you'd like I suggest adding a checkbox to the "Pipelines" page in the Admin settings called "include task models". This should be deactived by default.
Describe alternatives you've considered It would be possible to set the "Pipelines" parameter with the pipeline definition file to the specific models to monitor. Currently, this parameter is set to "*" as I do not know the identifiers of task model pipelines.
Additional context Add any other context or screenshots about the feature request here.
That would be good! Thanks for this report!
Maybe you can add to beginning of inlet and outlet some code, like this:
if "task" in body.get("metadata", {}):
mtask = body["metadata"]["task"]
error_message = f"This is task: {mtask}"
print(f"Skip: {error_message}")
return body