Skip to content

Commit

Permalink
chore: remove keycloak variables
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeSlain committed Dec 3, 2024
1 parent 0c9dea6 commit f7255ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ jobs:
VITE_MODEL_MODE=${{ vars.VITE_MODEL_MODE }}
VITE_MODEL_TEMPERATURE=${{ vars.VITE_MODEL_TEMPERATURE }}
VITE_MATOMO_URL=${{ vars.VITE_MATOMO_URL }}
VITE_KEYCLOAK_AUTHORITY=${{ vars.VITE_KEYCLOAK_AUTHORITY }}
VITE_KEYCLOAK_CLIENT_ID=${{ vars.VITE_KEYCLOAK_CLIENT_ID }}
VITE_KEYCLOAK_REDIRECT_URL=${{ vars.VITE_KEYCLOAK_REDIRECT_URL }}
deploy-dev:
name: Deploy from ${{ github.ref_name }}/${{ github.sha }}
Expand Down
1 change: 1 addition & 0 deletions src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export * from './useGetChunk'
export * from './useGetChatArchiveById'
export * from './useGetInstitutions'
export * from './useGetEvaluationQuestions'
export * from './usePostEvaluations'
5 changes: 2 additions & 3 deletions src/pages/Evaluations.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { chatUrl, streamUrl, useGetEvaluationQuestions } from '@api'
import { chatUrl, streamUrl } from '@api'
import { Notice } from '@codegouvfr/react-dsfr/Notice'
import StarIcon from '@mui/icons-material/Star'
import Box from '@mui/material/Box'
Expand All @@ -9,8 +9,7 @@ import { TextWithSources } from 'components/Sources/TextWithSources'
import { EventSourcePolyfill } from 'event-source-polyfill'
import { useCallback, useEffect, useRef, useState } from 'react'
import { onCloseStream } from '../utils/eventsEmitter'
import ShowError from 'components/Error/ShowError'
import { Skeleton } from '@mui/material'
//import ShowError from 'components/Error/ShowError'

const questions = [
{
Expand Down

0 comments on commit f7255ca

Please sign in to comment.