feat: v1 — persistent shell, model gateway, artifact improvements (#1462)
This commit is contained in:
parent
3651670fb9
commit
f9652b452a
161 changed files with 5166 additions and 8009 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import { generateDummyPassword } from "./db/utils";
|
||||
|
||||
export const isProductionEnvironment = process.env.NODE_ENV === "production";
|
||||
export const isDevelopmentEnvironment = process.env.NODE_ENV === "development";
|
||||
export const isTestEnvironment = Boolean(
|
||||
|
|
@ -5,3 +7,14 @@ export const isTestEnvironment = Boolean(
|
|||
process.env.PLAYWRIGHT ||
|
||||
process.env.CI_PLAYWRIGHT
|
||||
);
|
||||
|
||||
export const guestRegex = /^guest-\d+$/;
|
||||
|
||||
export const DUMMY_PASSWORD = generateDummyPassword();
|
||||
|
||||
export const suggestions = [
|
||||
"What are the advantages of using Next.js?",
|
||||
"Write code to demonstrate Dijkstra's algorithm",
|
||||
"Help me write an essay about Silicon Valley",
|
||||
"What is the weather in San Francisco?",
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue