-
Notifications
You must be signed in to change notification settings - Fork 3.7k
v0.7.29: GLM, ui and ux improvements #5567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
7d1c927
fix(models): correct model catalog data and Gemini thinking-config wi…
waleedlatif1 2986362
feat(providers): add NVIDIA NIM and Z.ai providers (#5560)
waleedlatif1 8bf9424
feat(models): add latest Groq and Cerebras models (#5561)
waleedlatif1 08320d5
fix(sidebar): fix rename input losing its selection on open (#5563)
waleedlatif1 4952ddb
feat(landing): add HubSpot tracking script for hosted marketing site …
waleedlatif1 f0d85cb
fix(mcp): fix caret misalignment and tool schema contract validation …
waleedlatif1 97bb727
fix(pii): install CUDA torch on amd64 so GLiNER can run on GPU (#5552)
TheodoreSpeaks ea4f269
fix(providers): correct max-tokens param and add schema guidance for …
waleedlatif1 bbff34a
fix(mcp): route object params to JSON editor, keep invalid drafts out…
waleedlatif1 5d3809a
feat(tiktok): add tiktok trigger, block (#5504)
BillLeoutsakosvl346 43e61a1
fix(enrichments): remove Icypeas providers and show Running on in-fli…
TheodoreSpeaks fac8ec0
fix(workflow-edges): enforce edge/block validation server-side, not j…
waleedlatif1 5de66db
fix(rich-markdown-editor): stop image dupe-uploads on drag/paste; fix…
waleedlatif1 65b1ca1
feat(context-dev): add Context.dev to hosted key rotation pool (#5576)
waleedlatif1 f60d41a
feat(landing): enterprise page redesign with platform-loop hero and f…
waleedlatif1 f4d47ed
feat(slack): reusable custom bot credentials, slack_v2 block (preview…
TheodoreSpeaks 8e7e2db
feat(docs): update favicon, fix icon contrast, add integration intros…
waleedlatif1 7962236
improvement(custom-blocks): hardened delete with usage count + per-in…
TheodoreSpeaks 8525ba5
feat(landing): add Share chip to integration and model pages (#5582)
waleedlatif1 da2371a
fix(models): restore Anthropic models in landing page compare chart (…
waleedlatif1 1c60415
fix(landing): contain sr-only logos heading to stop phantom root scro…
waleedlatif1 f3582ed
feat(branding): sim wordmark favicon/OG, docs footer parity, footer p…
waleedlatif1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| 'use client' | ||
|
|
||
| import { useEffect } from 'react' | ||
| import { usePathname, useSearchParams } from 'next/navigation' | ||
|
|
||
| declare global { | ||
| interface Window { | ||
| _hsq?: unknown[][] | ||
| } | ||
| } | ||
|
|
||
| // next/script dedupes by id and never reloads on remount, so this must be | ||
| // module-scope (not a ref) to survive LandingLayout unmounting/remounting. | ||
| let hasTrackedInitialPageView = false | ||
|
|
||
| /** | ||
| * The HubSpot loader only auto-tracks the first page load; LandingLayout | ||
| * persists across client-side navigations, so HubSpot never sees the rest. | ||
| * Pushes a manual pageview through `_hsq` on every navigation after the first. | ||
| */ | ||
| export function HubspotPageViewTracker() { | ||
| const pathname = usePathname() | ||
| const searchParams = useSearchParams() | ||
| const query = searchParams.toString() | ||
|
|
||
| useEffect(() => { | ||
| if (!hasTrackedInitialPageView) { | ||
| hasTrackedInitialPageView = true | ||
| return | ||
| } | ||
|
|
||
| window._hsq = window._hsq || [] | ||
| window._hsq.push(['setPath', query ? `${pathname}?${query}` : pathname]) | ||
| window._hsq.push(['trackPageView']) | ||
| }, [pathname, query]) | ||
|
|
||
| return null | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.