From 6f74dc6c729243e3c431b837116b21175c906afc Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Thu, 9 Oct 2025 16:15:39 -0700 Subject: [PATCH] Misc small cleanups --- docker-compose.yaml | 2 +- src/apps/news/AppNews.tsx | 2 +- src/apps/news/news.data.tsx | 2 +- src/common/attachment-drafts/attachment.pipeline.ts | 2 +- src/common/stores/llms/store-llms.ts | 4 ++-- src/common/stores/workspace/workspace.types.ts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 61576370e..ea8c4ed5c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,6 +1,6 @@ # Very simple docker-compose file to run the app on http://localhost:3000 (or http://127.0.0.1:3000). # -# For more examples, such runnin big-AGI alongside a web browsing service, see the `docs/docker` folder. +# For more examples, such running big-AGI alongside a web browsing service, see the `docs/docker` folder. version: '3.9' diff --git a/src/apps/news/AppNews.tsx b/src/apps/news/AppNews.tsx index 6cc0933cd..e432fa7ac 100644 --- a/src/apps/news/AppNews.tsx +++ b/src/apps/news/AppNews.tsx @@ -154,7 +154,7 @@ export function AppNews() { const addPadding = false; //!firstCard; // || showExpander; return - {/* Inject the Big-AGI 2.0 item here*/} + {/* Inject the callout item here*/} {/*{idx === 1 && (*/} {/* */} {/* {bigAgi2NewsCallout}*/} diff --git a/src/apps/news/news.data.tsx b/src/apps/news/news.data.tsx index 74e3902d5..89ad223a0 100644 --- a/src/apps/news/news.data.tsx +++ b/src/apps/news/news.data.tsx @@ -57,7 +57,7 @@ export const NewsItems: NewsItem[] = [ versionName: Release.App.versionName, versionDate: new Date('2024-10-15T01:00:00Z'), items: [ - { text: <>You're running an unsupported Early Access build of Big-AGI V2. This version is used by developers to implement long-term breaking features. }, + { text: <>You're running an unsupported Early Access build of Big-AGI. This version is used by developers to implement long-term breaking features. }, { text: <>This branch previews experimental features that are subject to change and may break without notice. }, { text: <>Please report screenshots of breakages and console error messages. }, { text: <>Please note that this is not the official release. }, diff --git a/src/common/attachment-drafts/attachment.pipeline.ts b/src/common/attachment-drafts/attachment.pipeline.ts index 666a55ae0..e2a8d6cad 100644 --- a/src/common/attachment-drafts/attachment.pipeline.ts +++ b/src/common/attachment-drafts/attachment.pipeline.ts @@ -26,7 +26,7 @@ export const DEFAULT_ADRAFT_IMAGE_MIMETYPE: CommonImageMimeTypes = !Is.Browser.S export const DEFAULT_ADRAFT_IMAGE_QUALITY = 0.96; const PDF_IMAGE_PAGE_SCALE = 1.5; const PDF_IMAGE_QUALITY = 0.5; -const ENABLE_TEXT_AND_IMAGES = false; // 2.0 +const ENABLE_TEXT_AND_IMAGES = false; // [PROD] ? const DOCPART_DEFAULT_VERSION = 1; diff --git a/src/common/stores/llms/store-llms.ts b/src/common/stores/llms/store-llms.ts index 079b0c11f..fc85a3c6b 100644 --- a/src/common/stores/llms/store-llms.ts +++ b/src/common/stores/llms/store-llms.ts @@ -246,7 +246,7 @@ export const useModelsStore = create()(persist( /* versioning: * 1: adds maxOutputTokens (default to half of contextTokens) * 2: large changes on all LLMs, and reset chat/fast/func LLMs - * 3: big-AGI v2 + * 3: big-AGI v2.x upgrade * 4: migrate .options to .initialParameters/.userParameters * 4B: we changed from .chatLLMId/.fastLLMId to modelAssignments: {}, without expicit migration (done on rehydrate, and for no particular reason) */ @@ -271,7 +271,7 @@ export const useModelsStore = create()(persist( } } - // 2 -> 3: big-AGI v2: update all models for pricing info + // 2 -> 3: big-AGI v2.x upgrade: update all models for pricing info if (fromVersion < 3) { try { state.llms.forEach(portModelPricingV2toV3); diff --git a/src/common/stores/workspace/workspace.types.ts b/src/common/stores/workspace/workspace.types.ts index dee3c4527..9c8c4b61f 100644 --- a/src/common/stores/workspace/workspace.types.ts +++ b/src/common/stores/workspace/workspace.types.ts @@ -8,7 +8,7 @@ export type DWorkspaceId = string; /** - * Make the V2 shortcut of having conversation=workspace evident and searachable. + * Make the shortcut of having conversation=workspace evident and searchable. */ export function workspaceForConversationIdentity(conversationId: T): T { return conversationId;