-
{`${t('add-agent')}`}
+
+ {`${t('add-agent')}`}
+
+
+
{/*
Here are all your agents, managing tasks and operations.
*/}
@@ -96,7 +102,7 @@ const StyledTemplatesWrapper = styled.div`
height: calc(100vh - 225px);
- max-height: 1000px;
+ max-height: 2500px;
overflow-y: auto;
padding: 0 20px;
width: 100%;
diff --git a/apps/ui/src/pages/Agents/AgentForm/EditAgentForm.tsx b/apps/ui/src/pages/Agents/AgentForm/EditAgentForm.tsx
index f0df631dd..5a5d1c31b 100644
--- a/apps/ui/src/pages/Agents/AgentForm/EditAgentForm.tsx
+++ b/apps/ui/src/pages/Agents/AgentForm/EditAgentForm.tsx
@@ -18,6 +18,8 @@ import ComponentsWrapper from 'components/ComponentsWrapper/ComponentsWrapper'
import { t } from 'i18next'
import { StyledFormWrapper } from 'styles/formStyles.css'
import { useGetAccountModule } from 'utils/useGetAccountModule'
+import { StyledCombiner } from 'pages/Datasource/DatasourceForm/CreateDatasourceForm'
+import AgentDemoButton from './components/AgentDemoButton'
const EditAgentForm = () => {
const { t } = useTranslation()
@@ -32,10 +34,14 @@ const EditAgentForm = () => {
-
{`${t('edit-agent')}`}
{/*
Here are all your agents, managing tasks and operations.
*/}
+
+ {`${t('edit-agent')}`}
+
+
+
diff --git a/apps/ui/src/pages/Agents/AgentForm/components/AgentDemoButton.tsx b/apps/ui/src/pages/Agents/AgentForm/components/AgentDemoButton.tsx
new file mode 100644
index 000000000..0a9b9aa48
--- /dev/null
+++ b/apps/ui/src/pages/Agents/AgentForm/components/AgentDemoButton.tsx
@@ -0,0 +1,19 @@
+import DemoButton from 'components/DemoButton'
+import { useModal } from 'hooks'
+
+const AgentDemoButton = () => {
+ const { openModal } = useModal()
+
+ return (
+
+ openModal({
+ name: 'video-modal',
+ data: { videoSrc: import.meta.env.REACT_APP_YOUTUBE_VIDEO_ID },
+ })
+ }
+ />
+ )
+}
+
+export default AgentDemoButton
diff --git a/apps/ui/src/pages/Agents/AgentView/AgentView.tsx b/apps/ui/src/pages/Agents/AgentView/AgentView.tsx
index e61fc3ce3..5789a9aab 100644
--- a/apps/ui/src/pages/Agents/AgentView/AgentView.tsx
+++ b/apps/ui/src/pages/Agents/AgentView/AgentView.tsx
@@ -61,57 +61,33 @@ const AgentView = ({ agentData }: { agentData?: AgentWithConfigs }) => {
{system_message?.length ? (
-
+
) : null}
{tools?.length > 0 && }
{datasources?.length > 0 && }
- {goals?.length > 0 && (
-
- )}
+ {goals?.length > 0 && }
{constraints?.length > 0 && (
-
+
)}
{instructions?.length > 0 && (
-
+
)}
{suggestions?.length > 0 && (
-
+
)}
- {greeting?.length > 0 && }
+ {greeting?.length > 0 && (
+
+ )}
{text?.length > 0 && (
-
+
)}
diff --git a/apps/ui/src/pages/Agents/AgentView/components/AdditionalInfoBox.tsx b/apps/ui/src/pages/Agents/AgentView/components/AdditionalInfoBox.tsx
index e70020051..8c87172ea 100644
--- a/apps/ui/src/pages/Agents/AgentView/components/AdditionalInfoBox.tsx
+++ b/apps/ui/src/pages/Agents/AgentView/components/AdditionalInfoBox.tsx
@@ -7,12 +7,33 @@ import TypographySecondary from 'components/Typography/Secondary'
type AdditionalInfoBoxProps = {
items: string[]
title: string
+ noCount?: boolean
}
-const AdditionalInfoBox = ({ items, title }: AdditionalInfoBoxProps) => {
+const AdditionalInfoBox = ({ items, title, noCount }: AdditionalInfoBoxProps) => {
+ const getCountOfNonEmptyItems = (items: string[]) => {
+ const nonEmptyItems = items.filter(item => item.length > 0)
+ return nonEmptyItems.length
+ }
+ const count = getCountOfNonEmptyItems(items)
+ let convertedTitle
+ if (noCount) {
+ convertedTitle = title
+ } else if (count === 1) {
+ convertedTitle = `1 ${title}`
+ } else {
+ convertedTitle = `${count} ${title}s`
+ }
+
+ if (count === 0) return
+
return (
-
+
{items.map((item: string, index: number) => {
return (
diff --git a/apps/ui/src/pages/Agents/AgentView/components/AgentDatasources.tsx b/apps/ui/src/pages/Agents/AgentView/components/AgentDatasources.tsx
index f675643c7..6e399061f 100644
--- a/apps/ui/src/pages/Agents/AgentView/components/AgentDatasources.tsx
+++ b/apps/ui/src/pages/Agents/AgentView/components/AgentDatasources.tsx
@@ -20,6 +20,8 @@ const AgentDatasources = ({ datasources }: AgentDataSourcesProps) => {
return datasources?.includes(id)
})
+ if (filteredDatasources?.length === 0) return
+
return (
{
{items.map((item: string, index: number) => {
+ const { shortText: shortName } = textSlicer(item, 35)
return (
diff --git a/apps/ui/src/pages/Datasource/DatasourceForm/CreateDatasourceForm.tsx b/apps/ui/src/pages/Datasource/DatasourceForm/CreateDatasourceForm.tsx
index e4addb9a7..3a72faec6 100644
--- a/apps/ui/src/pages/Datasource/DatasourceForm/CreateDatasourceForm.tsx
+++ b/apps/ui/src/pages/Datasource/DatasourceForm/CreateDatasourceForm.tsx
@@ -3,6 +3,9 @@ import DatasourceForm from './DatasourceForm'
import Button from '@l3-lib/ui-core/dist/Button'
import Loader from '@l3-lib/ui-core/dist/Loader'
+import Typography from '@l3-lib/ui-core/dist/Typography'
+
+import Play from '@l3-lib/ui-core/dist/icons/PlayOutline'
import {
StyledHeaderGroup,
@@ -19,6 +22,9 @@ import { ButtonPrimary } from 'components/Button/Button'
import { t } from 'i18next'
import { StyledFormWrapper } from 'styles/formStyles.css'
+import DatasourceDemoButton from './components/DatasourceDemoButton'
+import styled from 'styled-components'
+
const CreateDatasourceForm = () => {
const { formik, isLoading } = useCreateDatasource()
@@ -29,9 +35,12 @@ const CreateDatasourceForm = () => {
{`${t('add-datasource')}`}
-
- {`${t('datasource-description')}`}
-
+
+
+ {`${t('datasource-description')}`}
+
+
+
@@ -58,3 +67,9 @@ const CreateDatasourceForm = () => {
}
export default CreateDatasourceForm
+
+export const StyledCombiner = styled.div`
+ display: flex;
+ align-items: center;
+ gap: 5px;
+`
diff --git a/apps/ui/src/pages/Datasource/DatasourceForm/EditDatasourceForm.tsx b/apps/ui/src/pages/Datasource/DatasourceForm/EditDatasourceForm.tsx
index 6715041e0..24de1e9e5 100644
--- a/apps/ui/src/pages/Datasource/DatasourceForm/EditDatasourceForm.tsx
+++ b/apps/ui/src/pages/Datasource/DatasourceForm/EditDatasourceForm.tsx
@@ -19,6 +19,8 @@ import BackButton from 'components/BackButton'
import { ButtonPrimary } from 'components/Button/Button'
import { t } from 'i18next'
import { StyledFormWrapper } from 'styles/formStyles.css'
+import DatasourceDemoButton from './components/DatasourceDemoButton'
+import { StyledCombiner } from './CreateDatasourceForm'
const EditDatasourceForm = () => {
const { formik, isLoading } = useEditDatasource()
@@ -30,9 +32,12 @@ const EditDatasourceForm = () => {
{`${t('edit-datasource')}`}
-
- {`${t('datasource-description')}`}
-
+
+
+ {`${t('datasource-description')}`}
+
+
+
diff --git a/apps/ui/src/pages/Datasource/DatasourceForm/components/DataLoaderCard.tsx b/apps/ui/src/pages/Datasource/DatasourceForm/components/DataLoaderCard.tsx
index 958d5a08e..f8184f790 100644
--- a/apps/ui/src/pages/Datasource/DatasourceForm/components/DataLoaderCard.tsx
+++ b/apps/ui/src/pages/Datasource/DatasourceForm/components/DataLoaderCard.tsx
@@ -69,4 +69,6 @@ const StyledIcon = styled.img`
width: 24px;
height: 24px;
border-radius: 8px;
+
+ object-fit: cover;
`
diff --git a/apps/ui/src/pages/Datasource/DatasourceForm/components/DatasourceDemoButton.tsx b/apps/ui/src/pages/Datasource/DatasourceForm/components/DatasourceDemoButton.tsx
new file mode 100644
index 000000000..206ce3cc0
--- /dev/null
+++ b/apps/ui/src/pages/Datasource/DatasourceForm/components/DatasourceDemoButton.tsx
@@ -0,0 +1,26 @@
+import DemoButton from 'components/DemoButton'
+import { useModal } from 'hooks'
+import styled from 'styled-components'
+
+const DatasourceDemoButton = () => {
+ const { openModal } = useModal()
+
+ return (
+
+
+ openModal({
+ name: 'video-modal',
+ data: { videoSrc: import.meta.env.REACT_APP_YOUTUBE_VIDEO_DATA_SOURCE_ID },
+ })
+ }
+ />
+
+ )
+}
+
+export default DatasourceDemoButton
+
+const StyledCustomButtonWrapper = styled.div`
+ margin-right: auto;
+`
diff --git a/apps/ui/src/pages/Datasource/constants.ts b/apps/ui/src/pages/Datasource/constants.ts
index a5aabd8fd..a7028ee4a 100644
--- a/apps/ui/src/pages/Datasource/constants.ts
+++ b/apps/ui/src/pages/Datasource/constants.ts
@@ -4,6 +4,8 @@ import fileImg from 'assets/images/file.jpg'
import webImg from 'assets/images/web.jpg'
import notionImg from 'assets/images/notion.png'
import shopifyImg from 'assets/images/shopify.png'
+import googleAnalyticsLogo from 'assets/images/googleAnalytics.png'
+import firebaseLogo from 'assets/images/firebase.png'
export const DATA_LOADER_IMAGES = [
{
@@ -30,4 +32,12 @@ export const DATA_LOADER_IMAGES = [
sourceName: 'Shopify',
imageSrc: shopifyImg,
},
+ {
+ sourceName: 'Google Analytics',
+ imageSrc: googleAnalyticsLogo,
+ },
+ {
+ sourceName: 'Firebase',
+ imageSrc: firebaseLogo,
+ },
]
diff --git a/apps/ui/src/pages/Discover/Discover.tsx b/apps/ui/src/pages/Discover/Discover.tsx
index 619e707c4..1acebca24 100644
--- a/apps/ui/src/pages/Discover/Discover.tsx
+++ b/apps/ui/src/pages/Discover/Discover.tsx
@@ -1,18 +1,61 @@
import styled from 'styled-components'
import DiscoverTeamAgents from './components/DiscoverTeamAgents'
import DiscoverTemplateAgents from './components/DiscoverTemplateAgents'
-import HeadingPrimary from 'components/Heading/Primary'
+
+import { StyledTab, StyledTabListSpan, StyledTabListWrapper } from 'styles/tabStyles.css'
+
+import Tab from '@l3-lib/ui-core/dist/Tab'
+import TabList from '@l3-lib/ui-core/dist/TabList'
+import TabPanel from '@l3-lib/ui-core/dist/TabPanel'
+import TabPanels from '@l3-lib/ui-core/dist/TabPanels'
+import TabsContext from '@l3-lib/ui-core/dist/TabsContext'
+import { t } from 'i18next'
+import { useState } from 'react'
+import { useLocation, useNavigate } from 'react-router-dom'
+
const Discover = () => {
+ const navigate = useNavigate()
+
+ const location = useLocation()
+ const urlParams = new URLSearchParams(location.search)
+ const tabQuery = urlParams.get('tab')
+
+ const defaultActiveTab = () => {
+ if (tabQuery === 'team') return 0
+ if (tabQuery === 'agent') return 1
+ }
+
+ const [activeTab, setActiveTab] = useState(defaultActiveTab || 0)
+ const handleTabClick = (tabId: number, tabName: string) => {
+ setActiveTab(tabId)
+ navigate(`/discover?tab=${tabName}`)
+ }
return (
-
- {/* {} */}
-
-
+
+
+ handleTabClick(0, 'team')}>
+ {`${t('team')}s`}
+
+ handleTabClick(1, 'agent')}>
+ {`${t('agent')}s`}
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+ {/* {} */}
{/* {!user && } */}
@@ -21,23 +64,7 @@ const Discover = () => {
export default Discover
-
-
-
export const StyledRoot = styled.div`
display: flex;
flex-direction: column;
- gap: 100px;
`
-
-const StyledHeadingWrapper = styled.div`
- display: flex;
- flex-direction: column;
- align-items: center;
-
- padding: 16px 10px;
-`
-const StyledHeadingPrimary = styled(HeadingPrimary)`
- font-size: 40px;
-`
-
diff --git a/apps/ui/src/pages/Discover/components/DiscoverTeamAgents.tsx b/apps/ui/src/pages/Discover/components/DiscoverTeamAgents.tsx
index b2fc93e00..d23845874 100644
--- a/apps/ui/src/pages/Discover/components/DiscoverTeamAgents.tsx
+++ b/apps/ui/src/pages/Discover/components/DiscoverTeamAgents.tsx
@@ -9,7 +9,7 @@ import {
StyledSectionWrapper,
} from 'pages/Home/homeStyle.css'
import TeamOfAgentsCard from 'pages/TeamOfAgents/TeamOfAgentsCard'
-import { useNavigate, useLocation} from 'react-router-dom'
+import { useNavigate, useLocation } from 'react-router-dom'
import { useTeamOfAgentsPublicService } from 'services/team/useTeamOfAgentsPublicService'
import TypographySecondary from 'components/Typography/Secondary'
import Typography from '@l3-lib/ui-core/dist/Typography'
@@ -25,13 +25,10 @@ const DiscoverTeamAgents = () => {
const { data: publicTeamAgents } = useTeamOfAgentsPublicService()
const location = useLocation()
-
return (
-
-
-
+
{
const { templateAgents } = useDiscover()
return (
- <>
+ <>
{/* {} */}
{templateAgents?.length > 0 && (
-
+
-
+
{templateAgents?.map((agentObj: any, index: number) => {
const { agent } = agentObj
@@ -62,7 +65,7 @@ const Discover = () => {
/>
)
})}
-
+
)}
@@ -72,8 +75,17 @@ const Discover = () => {
export default Discover
-
-
+export const StyledTabCardsWrapper = styled.div`
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ gap: 16px;
+ width: 100%;
+ max-height: calc(100vh - 370px);
+ height: 100%;
+ overflow-y: auto;
+ padding: 5px 32px;
+`
export const StyledRoot = styled.div`
display: flex;
@@ -91,4 +103,3 @@ const StyledHeadingWrapper = styled.div`
const StyledHeadingPrimary = styled(HeadingPrimary)`
font-size: 40px;
`
-
diff --git a/apps/ui/src/pages/Home/Home.tsx b/apps/ui/src/pages/Home/Home.tsx
index 1ad1622c3..f934b5d98 100644
--- a/apps/ui/src/pages/Home/Home.tsx
+++ b/apps/ui/src/pages/Home/Home.tsx
@@ -8,13 +8,10 @@ import styled from 'styled-components'
import Agents from 'pages/Agents'
import { AuthContext } from 'contexts'
-import Discover from 'pages/Discover'
-import GetStartedCard from './GetStarted/GetStartedCard'
-import cardBg4 from 'assets/images/whiteBg.png'
import DiscoverTeamAgents from 'pages/Discover/components/DiscoverTeamAgents'
import DiscoverTemplateAgents from 'pages/Discover/components/DiscoverTemplateAgents'
-import DiscoverSystemAgents from 'pages/Discover/components/DiscoverSystemAgents'
+
import TeamOfAgents from 'pages/TeamOfAgents'
import { useTeamOfAgents } from 'pages/TeamOfAgents/useTeamOfAgents'
import { useAgents } from 'pages/Agents/useAgents'
@@ -39,26 +36,19 @@ const Home = () => {
{!user && }
{user ? (
<>
- {/* */}
- {agentModules?.list && agentsData?.length > 0 ? : }
-
{teamModules?.list &&
(teamOfAgents?.length > 0 ? : )}
-
+
+ {agentModules?.list && agentsData?.length > 0 ? (
+
+ ) : (
+
+ )}
>
) : (
<>
- {/* */}
-
{
allowFullScreen
>
-
+
+
>
)}
-
- {/* {user ? (
- <>
-
-
-
- >
- ) : (
-
- )} */}
- {/*
-
- */}
>
)
@@ -95,7 +73,7 @@ export default Home
const StyledInnerWrapperEdit = styled(StyledInnerWrapper)`
display: grid;
grid-auto-rows: max-content;
- gap: 20px;
+ gap: 30px;
`
const StyledWrapper = styled.div`
diff --git a/apps/ui/src/pages/Sessions/columnConfig.tsx b/apps/ui/src/pages/Sessions/columnConfig.tsx
index e5ba48e00..ad5cd50f4 100644
--- a/apps/ui/src/pages/Sessions/columnConfig.tsx
+++ b/apps/ui/src/pages/Sessions/columnConfig.tsx
@@ -144,6 +144,17 @@ const columns = [
accessor: 'sender_name',
minWidth: 343,
width: '24.8%',
+ Cell: (props: { row: { original: any } }) => {
+ const { original: data } = props.row
+
+ if (data.voice_url !== null) {
+ const audioUrl = data.voice_url
+
+ return
+ }
+
+ return null
+ },
},
// {
// Header: 'Schedule Name',
@@ -167,6 +178,7 @@ const columns = [
Cell: (props: { row: { original: any } }) => {
const { original: data } = props.row
const { refetch: refetchChat } = useChatsService()
+
const { deleteChat } = useDeleteChatService()
const { openModal, closeModal } = useModal()
const { setToast } = useContext(ToastContext)
diff --git a/apps/ui/src/pages/Sessions/useSession.ts b/apps/ui/src/pages/Sessions/useSession.ts
index b36aac408..4f071c779 100644
--- a/apps/ui/src/pages/Sessions/useSession.ts
+++ b/apps/ui/src/pages/Sessions/useSession.ts
@@ -8,6 +8,7 @@ import { AgentWithConfigs, ScheduleWithConfigs } from 'types'
type Chat = {
id: string
name: string
+ voice_url: string
agent?: {
agent?: {
name: string
@@ -41,6 +42,7 @@ export const useSession = () => {
agent_id: chat?.agent?.agent?.id,
team_name: chat?.team?.team?.name,
added_At: new Date().toISOString(),
+ voice_url: chat?.voice_url,
}))
const [startDate, setStartDate] = useState(null)
diff --git a/apps/ui/src/pages/TeamOfAgents/TeamOfAgentView.tsx b/apps/ui/src/pages/TeamOfAgents/TeamOfAgentView.tsx
index bc3928c2c..f3ad0d68f 100644
--- a/apps/ui/src/pages/TeamOfAgents/TeamOfAgentView.tsx
+++ b/apps/ui/src/pages/TeamOfAgents/TeamOfAgentView.tsx
@@ -145,46 +145,26 @@ const TeamOfAgentView = ({ teamOfAgentsData }: { teamOfAgentsData?: any }) => {
{datasources?.length > 0 && }
- {goals?.length > 0 && (
-
- )}
+ {goals?.length > 0 && }
{constraints?.length > 0 && (
-
+
)}
{instructions?.length > 0 && (
-
+
)}
{suggestions?.length > 0 && (
-
+
)}
- {greeting?.length > 0 && }
+ {greeting?.length > 0 && (
+
+ )}
{text?.length > 0 && (
-
+
)}
diff --git a/apps/ui/src/pages/TeamOfAgents/TeamOfAgentsForm/TeamOfAgentsForm.tsx b/apps/ui/src/pages/TeamOfAgents/TeamOfAgentsForm/TeamOfAgentsForm.tsx
index b6935857a..ef284f31c 100644
--- a/apps/ui/src/pages/TeamOfAgents/TeamOfAgentsForm/TeamOfAgentsForm.tsx
+++ b/apps/ui/src/pages/TeamOfAgents/TeamOfAgentsForm/TeamOfAgentsForm.tsx
@@ -198,7 +198,7 @@ const TeamOfAgentsForm = ({ formik, isLoading }: TeamOfAgentsFormProps) => {
fieldName={'team_greeting'}
/>
- {
/>
>
- )}
+ )} */}
diff --git a/apps/ui/src/pages/TeamOfAgents/useCreateTeamOfAgents.ts b/apps/ui/src/pages/TeamOfAgents/useCreateTeamOfAgents.ts
index d357f3aeb..6a5686cbe 100644
--- a/apps/ui/src/pages/TeamOfAgents/useCreateTeamOfAgents.ts
+++ b/apps/ui/src/pages/TeamOfAgents/useCreateTeamOfAgents.ts
@@ -23,7 +23,7 @@ export const useCreateTeamOfAgents = () => {
const initialValues = {
teamOfAgents_name: '',
teamOfAgents_description: '',
- teamOfAgents_team_type: 'Plan and Execute',
+ teamOfAgents_team_type: 'Decentralized Speaker',
agents: [],
is_memory: true,
// TODO: add agents selected in form
diff --git a/apps/ui/src/plugins/contact/pages/Contact/Contacts.tsx b/apps/ui/src/plugins/contact/pages/Contact/Contacts.tsx
index 68acac112..c106a308c 100644
--- a/apps/ui/src/plugins/contact/pages/Contact/Contacts.tsx
+++ b/apps/ui/src/plugins/contact/pages/Contact/Contacts.tsx
@@ -175,7 +175,7 @@ const Contacts = () => {
},
},
],
- [],
+ [agentsData],
)
const location = useLocation()
diff --git a/apps/ui/src/plugins/contact/pages/Voice/VoiceView/useVoiceView.ts b/apps/ui/src/plugins/contact/pages/Voice/VoiceView/useVoiceView.ts
index afe04b347..61f401d17 100644
--- a/apps/ui/src/plugins/contact/pages/Voice/VoiceView/useVoiceView.ts
+++ b/apps/ui/src/plugins/contact/pages/Voice/VoiceView/useVoiceView.ts
@@ -4,7 +4,7 @@ import { useVoicesService } from 'plugins/contact/services/voice/useVoicesServic
import { useContext, useState } from 'react'
import { useParams } from 'react-router-dom'
import { useConfigsService } from 'services/config/useConfigsService'
-import { useCreateConfigService } from 'services/config/useCreateConfigService'
+import { ConfigInput, useCreateConfigService } from 'services/config/useCreateConfigService'
import { useUpdateConfigService } from 'services/config/useUpdateConfigService'
export const useVoiceView = ({ voiceSlug }: { voiceSlug?: string }) => {
@@ -43,10 +43,10 @@ export const useVoiceView = ({ voiceSlug }: { voiceSlug?: string }) => {
const handleSubmit = async (values: any) => {
setIsLoading(true)
- const configs = []
+ const configs: ConfigInput[] = []
for (const key in values) {
- const value = values[key]
+ const value = values[key] || ''
const field = voice?.fields.find((field: any) => field.key === key)
configs.push({
@@ -60,17 +60,18 @@ export const useVoiceView = ({ voiceSlug }: { voiceSlug?: string }) => {
}
try {
- if (filteredConfig.length === 0) {
- const promises = configs.map((config: any) => createConfig(config))
- await Promise.all(promises)
- } else {
- const promises = configs.map((config: any) =>
- updateConfig(filteredConfig.find((cfg: any) => cfg.key === config.key).id, config),
- )
-
- await Promise.all(promises)
- }
+ const promises = voice?.fields.map((field: any) => {
+ const existingConfig = filteredConfig?.find((config: any) => config.key === field.key)
+ const config = configs.find((config: any) => config.key === field.key)
+
+ if (!config) return
+ if (!existingConfig) return createConfig(config)
+ return updateConfig(existingConfig.id, config)
+ })
+
+ await Promise.all(promises)
await refetchConfigs()
+
setToast({
message: 'Voice was updated!',
type: 'positive',
diff --git a/apps/ui/src/styles/formStyles.css.ts b/apps/ui/src/styles/formStyles.css.ts
index 53e336771..24c783572 100644
--- a/apps/ui/src/styles/formStyles.css.ts
+++ b/apps/ui/src/styles/formStyles.css.ts
@@ -3,7 +3,7 @@ import styled from 'styled-components'
export const StyledFormWrapper = styled.div`
width: 100%;
- height: calc(100vh - 250px);
+ height: calc(100vh - 260px);
max-height: 1500px;
`
diff --git a/zep/docker-compose.yml b/zep/docker-compose.yml
index c9e774bc8..1484cc77b 100644
--- a/zep/docker-compose.yml
+++ b/zep/docker-compose.yml
@@ -5,15 +5,20 @@ services:
image: ghcr.io/getzep/zep-cloud:0.19
restart: on-failure
ports:
- - "8000:8000"
+ - "80:8000"
environment:
- PORT=8000
- - ZEP_SERVER_WEB_ENABLED=true
+ - ZEP_AUTH_REQUIRED=true
+ - ZEP_AUTH_SECRET=
+ - ZEP_NLP_SERVER_URL=http://zep_nlp:5557
+ - ZEP_OPENAI_API_KEY=
+ - ZEP_SERVER_WEB_ENABLED=false
+ - ZEP_STORE_POSTGRES_DSN=postgres://postgres:password@localhost:5432/db
zep_nlp:
image: ghcr.io/getzep/zep-nlp-server:0.4.1
- env_file:
- - .env
+ environment:
+ - ZEP_OPENAI_API_KEY=
restart: on-failure
healthcheck:
test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/5557' || exit 1