File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
instrumentation-genai/opentelemetry-instrumentation-openai-v2/example Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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 `
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments