Skip to content

Commit 42a8390

Browse files
fuzz
Signed-off-by: Adrian Cole <[email protected]>
1 parent 611ce5c commit 42a8390

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Added
1515

1616
- Add example to `opentelemetry-instrumentation-openai-v2`
17-
([#0000](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/0000))
17+
([#3006](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3006))
1818
- `opentelemetry-instrumentation-sqlalchemy` Update unit tests to run with SQLALchemy 2
1919
([#2976](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2976))
2020
- Add `opentelemetry-instrumentation-openai-v2` to `opentelemetry-bootstrap`

instrumentation-genai/opentelemetry-instrumentation-openai-v2/example/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ def main():
1818
},
1919
]
2020
model = os.getenv("CHAT_MODEL", "gpt-4o-mini")
21-
chat_completion = client.chat.completions.create(model=model, messages=messages)
21+
chat_completion = client.chat.completions.create(
22+
model=model, messages=messages
23+
)
2224
print(chat_completion.choices[0].message.content)
2325

2426

0 commit comments

Comments
 (0)