mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Misc small cleanups
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ export function AppNews() {
|
||||
const addPadding = false; //!firstCard; // || showExpander;
|
||||
return <React.Fragment key={idx}>
|
||||
|
||||
{/* Inject the Big-AGI 2.0 item here*/}
|
||||
{/* Inject the callout item here*/}
|
||||
{/*{idx === 1 && (*/}
|
||||
{/* <Box sx={{ mb: 3 }}>*/}
|
||||
{/* {bigAgi2NewsCallout}*/}
|
||||
|
||||
@@ -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 <B>unsupported Early Access</B> build of Big-AGI V2. This version is used by developers to implement long-term breaking features.</> },
|
||||
{ text: <>You're running an <B>unsupported Early Access</B> 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.</> },
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
@@ -246,7 +246,7 @@ export const useModelsStore = create<LlmsStore>()(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<LlmsStore>()(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);
|
||||
|
||||
@@ -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<T extends DConversationId | null>(conversationId: T): T {
|
||||
return conversationId;
|
||||
|
||||
Reference in New Issue
Block a user