Commit 1b84cf3
committed
Return workflow result from basic starter's main
@Traceable captures the decorated function's return value as the
LangSmith trace output, so implicitly returning None left the trace's
output field empty. Return `result` (and annotate the return type) so
the trace shows the workflow response.1 parent 66ec144 commit 1b84cf3
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments