Skip to content

[Feature] Compatibility with ML Flow's session tracing #9084

@Jiayang-21

Description

@Jiayang-21

What feature would you like to see?

Description

Seems like DSPy'sautolog uses a callback-based tracing: after DSPy's invocation it'd finalize trace,causing
mlflow.update_current_trace() to not with active trace, thus not able to utilize the session tracing capability

Or did I miss something? This tripped my ClaudeCode for a while and I current best guess is above.

Setup

  • DSpy on server side; Client side determine if a call is a new session or not (Task-turn structure)

Would you like to contribute?

  • Yes, I'd like to help implement this.
  • No, I just want to request it.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions