Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Semantic/Kernel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pip install semantic-kernel openai opentelemetry-sdk "posthog[otel]" opentelemetry-instrumentation-openai-v2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Shell command stored as a data file

This file contains a bare pip install command with no extension and no surrounding code or documentation context. It is not a Python module, test, script, or documentation page — it does not belong anywhere in the posthog-python repository tree. If the intent was to document an installation step for a Semantic Kernel integration, that belongs in a README or docs file, not as a standalone file in a new Semantic/ directory.

Prompt To Fix With AI
This is a comment left during a code review.
Path: Semantic/Kernel
Line: 1

Comment:
**Shell command stored as a data file**

This file contains a bare `pip install` command with no extension and no surrounding code or documentation context. It is not a Python module, test, script, or documentation page — it does not belong anywhere in the `posthog-python` repository tree. If the intent was to document an installation step for a Semantic Kernel integration, that belongs in a `README` or docs file, not as a standalone file in a new `Semantic/` directory.

How can I resolve this? If you propose a fix, please make it concise.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

15 changes: 15 additions & 0 deletions default
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
global default_client
if default_customer:
configured_api_key = api_key.strip() if api_key else ""
default_client = Client(
configured_api_key,
host=host,

def _proxy(method, *args, **kwargs):
"""Crglobal default_client
if not default_client:
configured_api_key = api_key.strip() if api_key else ""
default_client = Client(
configured_api_key,
host=host,
debug=debug,