Programmer-RD-AI
commited on
Commit
·
5dfb055
1
Parent(s):
e706c41
feat: remove environment variables from configuration and set default endpoint directly
Browse files- next.config.js +1 -6
- src/store.ts +1 -1
next.config.js
CHANGED
@@ -1,6 +1 @@
|
|
1 |
-
module.exports = {
|
2 |
-
env: {
|
3 |
-
NEXT_PUBLIC_API_BASE_URL: process.env.NEXT_PUBLIC_API_BASE_URL,
|
4 |
-
NEXT_PUBLIC_DEFAULT_ENDPOINT: process.env.NEXT_PUBLIC_DEFAULT_ENDPOINT
|
5 |
-
}
|
6 |
-
}
|
|
|
1 |
+
module.exports = {}
|
|
|
|
|
|
|
|
|
|
src/store.ts
CHANGED
@@ -89,7 +89,7 @@ export const usePlaygroundStore = create<PlaygroundStore>()(
|
|
89 |
setHasStorage: (hasStorage) => set(() => ({ hasStorage })),
|
90 |
chatInputRef: { current: null },
|
91 |
selectedEndpoint:
|
92 |
-
|
93 |
setSelectedEndpoint: (selectedEndpoint) =>
|
94 |
set(() => ({ selectedEndpoint })),
|
95 |
agents: [],
|
|
|
89 |
setHasStorage: (hasStorage) => set(() => ({ hasStorage })),
|
90 |
chatInputRef: { current: null },
|
91 |
selectedEndpoint:
|
92 |
+
'https://sifa-classification-agentic-rag-99329044472.asia-south1.run.app',
|
93 |
setSelectedEndpoint: (selectedEndpoint) =>
|
94 |
set(() => ({ selectedEndpoint })),
|
95 |
agents: [],
|