Skip to content

Commit be6f035

Browse files
author
Bogdan Tsechoev
committed
Merge branch 'master' into select_ai_model
2 parents ec625a3 + 5c12f88 commit be6f035

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ci_access:
2+
projects:
3+
- id: postgres-ai/database-lab

ui/packages/platform/.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
script:
8787
# Substitute env variables in deploy config.
8888
- bash ./ui/packages/platform/do.sh subs_envs ./ui/packages/platform/deploy/platform-console.yaml /tmp/platform-console.yaml
89+
# Context
90+
- kubectl config get-contexts
91+
- kubectl config use-context postgres-ai/database-lab:k8s-cluster-1
8992
# Deploy to k8s cluster.
9093
- kubectl apply --filename /tmp/platform-console.yaml -n $NAMESPACE
9194

ui/packages/platform/src/pages/Bot/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ export const BotPage = (props: BotPageProps) => {
102102
model,
103103
setModel,
104104
getDebugMessagesForWholeThread,
105-
chatsListLoading,
106105
getChatsList,
107-
chatsList
108106
} = useAiBot();
109107

110108
const matches = useMediaQuery(theme.breakpoints.down('sm'));

0 commit comments

Comments
 (0)