posthog-js-lite
posthog-js-lite copied to clipboard
OpenAI Responses API support missing
Bug description
Seeing a type error when attempting to include posthog* properties in a posthogOpenAI.responses.create({...}) call for OpenAI models.
Not behaving as documented
How to reproduce
- Init a Posthog AI client for OpenAI
- Attempt to add
posthog*attributes - See type error
Relevant client versions;
{
"dependencies": {
"@posthog/ai": "3.3.2",
"openai": "4.90.0",
"posthog-js": "1.234.1",
"posthog-node": "4.11.1"
}
}
Related sub-libraries
- [ ] All of them
- [ ] posthog-web
- [x] posthog-node
- [ ] posthog-react-native