Skip to content

Commit 16bbc4b

Browse files
committed
fix(docs): use run_type instead of runType in RunTreeConfig example
1 parent f525f53 commit 16bbc4b

File tree

2 files changed

+535
-727
lines changed

2 files changed

+535
-727
lines changed

docs/observability/how_to_guides/log_traces_to_project.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const traceableCallOpenAI = traceable(async (messages: {role: string, content: s
123123
await traceableCallOpenAI(messages, "gpt-4o-mini");\n
124124
// Create and use a RunTree object
125125
const rt = new RunTree({
126-
runType: "llm",
126+
run_type: "llm",
127127
name: "OpenAI Call RunTree",
128128
inputs: { messages },
129129
// highlight-next-line

0 commit comments

Comments
 (0)