Skip to content
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

Version 3.2.6 #1362

Merged
merged 75 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
195293d
Bump tailwind-merge from 2.5.5 to 2.6.0
dependabot[bot] Dec 23, 2024
a8b8454
Bump html-react-parser from 5.2.1 to 5.2.2
dependabot[bot] Dec 26, 2024
c0a993a
Merge pull request #1320 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Dec 26, 2024
5de5485
Merge pull request #1317 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Dec 26, 2024
9e40bdf
Bump @types/node from 22.9.3 to 22.10.2
dependabot[bot] Dec 26, 2024
df0298d
Bump tailwindcss from 3.4.15 to 3.4.17
dependabot[bot] Dec 26, 2024
1d9d344
Bump eslint-config-next from 15.0.3 to 15.1.2
dependabot[bot] Dec 26, 2024
f400741
Merge pull request #1319 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Dec 26, 2024
6b170d7
Merge pull request #1318 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Dec 26, 2024
8862faa
Merge pull request #1316 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Dec 26, 2024
4f3622b
Bump next from 15.1.2 to 15.1.3
dependabot[bot] Dec 27, 2024
f273490
Bump eslint-config-next from 15.1.2 to 15.1.3
dependabot[bot] Dec 27, 2024
5442775
Bump react-i18next from 15.2.0 to 15.4.0
dependabot[bot] Dec 30, 2024
d4fa117
Bump @tiptap/html from 2.10.4 to 2.11.0
dependabot[bot] Dec 30, 2024
4d0a75d
Bump @types/node from 22.10.2 to 22.10.5
dependabot[bot] Jan 3, 2025
44ed40f
Bump ai from 4.0.22 to 4.0.25
dependabot[bot] Jan 3, 2025
5107fbd
Bump @ai-sdk/openai from 1.0.11 to 1.0.13
dependabot[bot] Jan 3, 2025
72e80f5
Merge pull request #1330 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 5, 2025
110e407
Merge pull request #1329 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 5, 2025
8416e09
Merge pull request #1328 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 5, 2025
921be4f
Merge pull request #1324 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 5, 2025
5aa0708
Merge pull request #1323 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 5, 2025
d72174c
Merge pull request #1322 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 5, 2025
1ab5ebb
Merge pull request #1321 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 5, 2025
9f0a038
Bump uuid from 11.0.3 to 11.0.4
dependabot[bot] Jan 6, 2025
8aba38c
Bump i18next from 24.2.0 to 24.2.1
dependabot[bot] Jan 7, 2025
ab60b23
Bump next from 15.1.3 to 15.1.4
dependabot[bot] Jan 8, 2025
79df261
Bump @supabase/supabase-js from 2.47.10 to 2.47.12
dependabot[bot] Jan 8, 2025
091b3a4
Bump @stripe/stripe-js from 5.4.0 to 5.5.0
dependabot[bot] Jan 8, 2025
27f8adb
Bump eslint-config-next from 15.1.3 to 15.1.4
dependabot[bot] Jan 8, 2025
4378a67
Bump framer-motion from 11.15.0 to 11.16.1
dependabot[bot] Jan 8, 2025
04d3131
Bump @ai-sdk/openai from 1.0.13 to 1.0.15
dependabot[bot] Jan 8, 2025
6419aa4
Bump ai from 4.0.25 to 4.0.30
dependabot[bot] Jan 8, 2025
66fc545
Bump openai from 4.77.0 to 4.77.4
dependabot[bot] Jan 8, 2025
ebcd800
Merge pull request #1349 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
cf4f999
Merge pull request #1348 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
3ea8721
Merge pull request #1347 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
b7ff1fb
Merge pull request #1346 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
8c2c979
Merge pull request #1345 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
b369025
Merge pull request #1344 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
94e1dbf
Merge pull request #1343 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
5d2b681
Merge pull request #1342 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
c906134
Merge pull request #1339 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
ae430f0
Merge pull request #1335 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
9d1cf0e
Bump @mistralai/mistralai from 1.3.5 to 1.3.6
dependabot[bot] Jan 9, 2025
6576ed2
Bump @tailwindcss/typography from 0.5.15 to 0.5.16
dependabot[bot] Jan 9, 2025
1258def
Merge pull request #1340 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
1c2b893
Merge pull request #1331 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
52f0f2c
Bump ai from 4.0.30 to 4.0.31
dependabot[bot] Jan 9, 2025
edc3238
Bump typescript from 5.7.2 to 5.7.3
dependabot[bot] Jan 9, 2025
1540b12
Bump @ai-sdk/openai from 1.0.15 to 1.0.16
dependabot[bot] Jan 9, 2025
9aeacf6
Bump framer-motion from 11.16.1 to 11.16.4
dependabot[bot] Jan 9, 2025
f6acc61
Merge pull request #1354 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
ef1a745
Merge pull request #1353 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
ef38b2b
Merge pull request #1352 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
f4e4873
Merge pull request #1351 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
3d4f906
Bump @ai-sdk/mistral from 1.0.6 to 1.0.8
dependabot[bot] Jan 9, 2025
4d64e33
Merge pull request #1350 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 9, 2025
6ac4192
Fixed an issue when refreshing models is not working
lpeyr Jan 9, 2025
018cdb9
Bump openai from 4.77.4 to 4.78.1
dependabot[bot] Jan 10, 2025
963727e
Merge pull request #1360 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 11, 2025
b94f623
Bump ai from 4.0.31 to 4.0.33
dependabot[bot] Jan 11, 2025
d3676b1
Bump framer-motion from 11.16.4 to 11.17.0
dependabot[bot] Jan 11, 2025
2cd0613
Bump uuid from 11.0.4 to 11.0.5
dependabot[bot] Jan 11, 2025
bdb353e
Bump lucide-react from 0.469.0 to 0.471.0
dependabot[bot] Jan 11, 2025
12ccbf6
Bump @tiptap/html from 2.11.0 to 2.11.2
dependabot[bot] Jan 11, 2025
3b9e91c
Merge pull request #1361 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 11, 2025
9304d32
Merge pull request #1359 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 11, 2025
fb1b677
Merge pull request #1358 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 11, 2025
33284e8
Merge pull request #1356 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 11, 2025
5061c13
Merge pull request #1355 from synapsy-ai/dependabot/npm_and_yarn/vNex…
lpeyr Jan 11, 2025
c6c8342
Fixed ChatBox component
lpeyr Jan 11, 2025
dead4df
Added new logos
lpeyr Jan 11, 2025
547e9ce
Removed legacy logo component
lpeyr Jan 11, 2025
125e6de
Version 3.2.6
lpeyr Jan 12, 2025
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
8 changes: 7 additions & 1 deletion app/[lng]/chat/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,13 @@ export default function Chat(props: Props) {
let models: ModelList = { openAiModels: [], mistralModels: [] };
let gpt4 = hasGpt4Access();
for (let i = 0; i < availableModels.openAiModels.length; i++) {
if (availableModels.openAiModels[i].includes("gpt-4") && !gpt4) continue;
if (
(availableModels.openAiModels[i].includes("gpt-4") ||
availableModels.openAiModels[i].includes("o1")) &&
!gpt4 &&
!availableModels.openAiModels[i].includes("mini")
)
continue;
models.openAiModels.push(availableModels.openAiModels[i]);
}
models.mistralModels = availableModels.mistralModels;
Expand Down
6 changes: 4 additions & 2 deletions app/[lng]/create/create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,10 @@ export default function Create(props: Props) {
let gpt4 = hasGpt4Access();
for (let i = 0; i < availableModels.openAiModels.length; i++) {
if (
availableModels.openAiModels[i].includes("gpt-4") ||
(availableModels.openAiModels[i].includes("o1") && !gpt4)
(availableModels.openAiModels[i].includes("gpt-4") ||
availableModels.openAiModels[i].includes("o1")) &&
!gpt4 &&
!availableModels.openAiModels[i].includes("mini")
)
continue;
models.openAiModels.push(availableModels.openAiModels[i]);
Expand Down
2 changes: 1 addition & 1 deletion app/[lng]/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ export default function SettingsPage({
<DialogTitle>{t("about-long")}</DialogTitle>
<p>
Version {version} <br />© {new Date().getFullYear()}{" "}
Synapsy by Peyronnet
Synapsy by GRP
</p>
<p>
NextJS - MIT License - © 2024 Vercel, Inc.
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
"export-gens": "Exporter des Générations",
"import-gens": "Importer des Générations",
"print-generations": "Impression des Générations",
"pricing-desc": "Vous avez besoins d'un abonnement pour utiliser Synapsy Write.",
"pricing-desc": "Vous avez d'un abonnement ou d'un essai gratuit pour utiliser Synapsy Write.",
"see-pricing": "Voir les tarifs",
"delete": "Supprimer",
"edit": "Modifier",
Expand Down
76 changes: 37 additions & 39 deletions components/chat-box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,47 +31,45 @@ export default function ChatBox(props: ChatBoxProps) {
return (
<div>
{msg.map((m, i) => (
<>
<div
key={i}
className="group rounded-md border border-transparent p-2 py-4 transition-all duration-100 hover:border-slate-200 hover:bg-slate-100 dark:hover:border-slate-700 dark:hover:bg-slate-900"
<div
key={i}
className="group rounded-md border border-transparent p-2 py-4 transition-all duration-100 hover:border-slate-200 hover:bg-slate-100 dark:hover:border-slate-700 dark:hover:bg-slate-900"
>
<p
className={`text-md mb-1 flex items-center space-x-2 font-bold ${m.role === "assistant" ? "text-indigo-500" : ""}`}
>
<p
className={`text-md mb-1 flex items-center space-x-2 font-bold ${m.role === "assistant" ? "text-indigo-500" : ""}`}
>
<span>
{t(m.role === "assistant" ? "synapsy-assistant" : "you")}
</span>
{m.role === "assistant" && <Sparkles size={14} color="#6366f1" />}
</p>
<ResultDisplayer
type="para"
is_generating={i === msg.length - 1 && loading}
res={m.content}
no_padding
/>
<div className="hidden group-hover:block">
<TooltipProvider delayDuration={0}>
<Tooltip>
<TooltipTrigger>
<Button
onClick={() =>
navigator.clipboard.writeText(m.content ?? "")
}
className="mt-1 h-auto p-2"
variant="ghost"
>
<Copy size={12} />
</Button>
</TooltipTrigger>
<TooltipContent>
<p>{t("copy")}</p>
</TooltipContent>
</Tooltip>
</TooltipProvider>
</div>
<span>
{t(m.role === "assistant" ? "synapsy-assistant" : "you")}
</span>
{m.role === "assistant" && <Sparkles size={14} color="#6366f1" />}
</p>
<ResultDisplayer
type="para"
is_generating={i === msg.length - 1 && loading}
res={m.content}
no_padding
/>
<div className="hidden group-hover:block">
<TooltipProvider delayDuration={0}>
<Tooltip>
<TooltipTrigger>
<Button
onClick={() =>
navigator.clipboard.writeText(m.content ?? "")
}
className="mt-1 h-auto p-2"
variant="ghost"
>
<Copy size={12} />
</Button>
</TooltipTrigger>
<TooltipContent>
<p>{t("copy")}</p>
</TooltipContent>
</Tooltip>
</TooltipProvider>
</div>
</>
</div>
))}
</div>
);
Expand Down
6 changes: 3 additions & 3 deletions components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"use client";
import Link from "next/link";

import Logo from "./logo";
import { useTranslation } from "@/app/i18n/client";
import { version } from "@/lib/version";
import PeyronnetLogo from "./peyronnet-logo";

export default function SiteFooter({
params: { lng },
Expand All @@ -15,7 +15,7 @@ export default function SiteFooter({
<footer className="flex flex-col justify-center space-y-2 border-t px-5 py-10 sm:grid sm:grid-cols-2 print:hidden">
<div className="flex items-center justify-center sm:justify-normal">
<Link href="https://peyronnet.group">
<Logo width={256} height={64} />
<PeyronnetLogo width={256} height={64} />
</Link>
</div>
<div className="m-4 flex flex-wrap justify-center sm:m-0 sm:justify-normal">
Expand Down Expand Up @@ -49,7 +49,7 @@ export default function SiteFooter({
/>
<FooterLink
title={t("about")}
description={`v${version} - © ${new Date().getFullYear()} Peyronnet Group and Synapsy`}
description={`v${version} - © ${new Date().getFullYear()} GRP and Synapsy`}
link="/settings"
/>
</div>
Expand Down
38 changes: 0 additions & 38 deletions components/logo.tsx

This file was deleted.

Loading
Loading