prompty icon indicating copy to clipboard operation
prompty copied to clipboard

extension code for prompty and promptflow tracing

Open lenisha opened this issue 1 year ago • 1 comments

Extension generates Prompty code iwith tracing enabled, but promptflow code does not have tracing enabled.

When added similar @trace annotation to promptflow

from prompty.tracer import trace, Tracer, console_tracer, PromptyTracer
json_tracer = PromptyTracer()
Tracer.add("PromptyTracer", json_tracer.tracer)


@tool
@trace
def flow_entry(    
      image_path: any
) -> str:

tracy file does not have much details:

Image

lenisha avatar Oct 31 '24 13:10 lenisha

OH! Will fix - looks like the PF code emitted is out of date.

sethjuarez avatar Jan 09 '25 17:01 sethjuarez