File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11import Restack from "@restackio/ai" ;
22
3- import dotenv from 'dotenv' ;
4- import path from 'path' ;
3+ // import dotenv from 'dotenv';
4+ // import path from 'path';
55
6- dotenv . config ( { path : path . resolve ( __dirname , '../../../.env' ) } ) ;
6+ // dotenv.config({ path: path.resolve(__dirname, '../../../.env') });
77
88export const apiAddress = process . env . RESTACK_ENGINE_API_ADDRESS !
99
@@ -14,8 +14,6 @@ export const connectionOptions = {
1414 apiAddress,
1515} ;
1616
17- console . log ( 'Debug Restack Client connectionOptions:' , connectionOptions ) ;
18-
1917export const client = new Restack (
2018 process . env . RESTACK_ENGINE_API_KEY ? connectionOptions : undefined
2119) ;
Original file line number Diff line number Diff line change 22 "name" : " agent-reactflow" ,
33 "private" : true ,
44 "scripts" : {
5- "build" : " turbo run build --env-mode=loose " ,
6- "dev" : " turbo run dev --env-mode=loose " ,
5+ "build" : " turbo run build" ,
6+ "dev" : " turbo run dev" ,
77 "lint" : " turbo run lint" ,
88 "format" : " prettier --write \" **/*.{ts,tsx,md}\" " ,
99 "check-types" : " turbo run check-types" ,
10- "start" : " turbo run start --env-mode=loose "
10+ "start" : " turbo run start"
1111 },
1212 "devDependencies" : {
1313 "prettier" : " ^3.5.3" ,
You can’t perform that action at this time.
0 commit comments