feat: HubSpot association v4 fetch, empty-string datetime fix, OpenAI streaming fix#2177
feat: HubSpot association v4 fetch, empty-string datetime fix, OpenAI streaming fix#2177
Conversation
…, and OpenAI max_completion_tokens fix Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 43d6342 The changes in this PR will be included in the next version bump. This PR includes changesets to release 190 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Claude finished @madhavrs1's task —— View job SQL Migration Review CompletedReview Tasks:
SummaryI've completed the review focusing on SQL migration files as requested. No migration files were found in this PR - all changes are in source code (TypeScript) and metadata (JSON) files. Therefore, there were no INSERT statements or spCreate procedures to check for hard-coded UUIDs. The PR includes:
Since there are no migration files to review, the PR passes the requested checks by default. |
There was a problem hiding this comment.
SQL Migration Review
I've reviewed this PR specifically for SQL migration files as requested.
No migration files were found in this PR. The changes include:
.changeset/bright-wolves-hunt.md- Changeset configurationmetadata/integrations/.hubspot.json- HubSpot integration metadata- TypeScript source files for HubSpot connector and OpenAI integration
Since there are no migrations/*.sql files to review for INSERT statements or spCreate procedures with hard-coded UUIDs, there are no migration-related concerns to address.
✅ Dependency Check ResultsAll dependencies are properly declared! No missing dependencies detected in this PR. |
|
Just a quick overview of the changes made here:
|
| messages: formattedMessages, | ||
| temperature: params.temperature, | ||
| max_tokens: params.maxOutputTokens, | ||
| max_completion_tokens: params.maxOutputTokens, |
There was a problem hiding this comment.
@madhavrs1 did this change in the OpenAI API? This type of thing deserves a comment if you're modifying a long standinng component in the system
There was a problem hiding this comment.
Hi Amith, youre right, I added a global pr comment instead of starting a review and adding an inline comment.
There I state:
"openAI.ts, very minor change I noticed, if alright, streaming path uses max_completed_tokens now as newer models ignore depricated 'max_tokens.'"
There was a problem hiding this comment.
got it, sorry didn't see that
AN-BC
left a comment
There was a problem hiding this comment.
except the OpenAI thing, LGTM
Summary
FetchChangesoverride to route association objects through HubSpot's v4 per-object associations endpoint, with batched parent iteration, full pagination, and composite ExternalID generation''for unset properties — normalizes tonullinFlattenHubSpotRecordto prevent SQL conversion errors on datetime/numeric columnsGetCachedObject/GetCachedFieldschangedprivate→protectedso HubSpot connector can access object metadata for association dispatchmax_completion_tokens: Fixes streaming path to use the modern parameter name (non-streaming path already used it) — newer models (o1, o3) silently ignored the oldmax_tokensparameterTest plan
npm run buildpasses for integration-connectors, integration-engine, ai-openai🤖 Generated with Claude Code