chore: upgrade OpenAI client #69224
Annotations
8 errors and 1 warning
Check static typing:
posthog/hogql/ai.py#L109
Argument "messages" to "create" of "Completions" has incompatible type "list[dict[str, str]]"; expected "list[ChatCompletionSystemMessageParam | ChatCompletionUserMessageParam | ChatCompletionAssistantMessageParam | ChatCompletionToolMessageParam | ChatCompletionFunctionMessageParam]"
|
Check static typing:
posthog/hogql/ai.py#L112
Item "None" of "str | None" has no attribute "removesuffix"
|
Check static typing:
posthog/hogql/ai.py#L113
Item "None" of "CompletionUsage | None" has no attribute "prompt_tokens"
|
Check static typing:
posthog/hogql/ai.py#L114
Item "None" of "CompletionUsage | None" has no attribute "completion_tokens"
|
Check static typing:
posthog/session_recordings/session_summary/summarize_session.py#L338
Argument "messages" to "create" of "Completions" has incompatible type "list[dict[str, str]]"; expected "list[ChatCompletionSystemMessageParam | ChatCompletionUserMessageParam | ChatCompletionAssistantMessageParam | ChatCompletionToolMessageParam | ChatCompletionFunctionMessageParam]"
|
Check static typing:
posthog/session_recordings/session_summary/summarize_session.py#L342
Item "None" of "CompletionUsage | None" has no attribute "prompt_tokens"
|
Check static typing:
posthog/session_recordings/session_summary/summarize_session.py#L346
Incompatible types in assignment (expression has type "str | None", variable has type "str")
|
Check static typing
Process completed with exit code 7.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: n1hility/cancel-previous-runs@v3, actions/checkout@v3, syphar/restore-virtualenv@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading