mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-05 09:17:41 +02:00
Add translate message action (#6609)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -276,6 +276,8 @@ services:
|
||||
memory: 300M
|
||||
aiBot:
|
||||
image: hardcoreeng/ai-bot
|
||||
ports:
|
||||
- 4010:4010
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -10,3 +10,4 @@ PRINT_URL=http://localhost:4005
|
||||
SIGN_URL=http://localhost:4006
|
||||
|
||||
ANALYTICS_COLLECTOR_URL=http://localhost:4007
|
||||
AI_URL=http://localhost:4010
|
||||
|
||||
@@ -5,5 +5,6 @@
|
||||
"REKONI_URL": "http://localhost:4004",
|
||||
"PRINT_URL": "http://localhost:4005",
|
||||
"SIGN_URL": "http://localhost:4006",
|
||||
"ANALYTICS_COLLECTOR_URL":"http://localhost:4007"
|
||||
"ANALYTICS_COLLECTOR_URL":"http://localhost:4007",
|
||||
"AI_URL": "http://localhost:4010"
|
||||
}
|
||||
@@ -231,6 +231,8 @@
|
||||
"@hcengineering/products": "^0.1.0",
|
||||
"@hcengineering/products-assets": "^0.1.0",
|
||||
"@hcengineering/products-resources": "^0.1.0",
|
||||
"@hcengineering/ai-bot": "^0.6.0",
|
||||
"@hcengineering/ai-bot-resources": "^0.6.0",
|
||||
"@sentry/svelte": "~7.101.0",
|
||||
"posthog-js": "~1.122.0"
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"PRINT_URL": "http://localhost:4005",
|
||||
"SIGN_URL": "http://localhost:4006",
|
||||
"ANALYTICS_COLLECTOR_URL": "http://localhost:4007",
|
||||
"AI_URL": "http://localhost:4010",
|
||||
"BRANDING_URL": "/branding.json",
|
||||
"VERSION": null,
|
||||
"MODEL_VERSION": null
|
||||
|
||||
@@ -59,6 +59,7 @@ import { documentsId } from '@hcengineering/controlled-documents'
|
||||
import textEditor, { textEditorId } from '@hcengineering/text-editor'
|
||||
import analyticsCollector, {analyticsCollectorId} from '@hcengineering/analytics-collector'
|
||||
import { uploaderId } from '@hcengineering/uploader'
|
||||
import aiBot, { aiBotId } from '@hcengineering/ai-bot'
|
||||
|
||||
import { bitrixId } from '@hcengineering/bitrix'
|
||||
|
||||
@@ -144,6 +145,7 @@ export interface Config {
|
||||
ANALYTICS_COLLECTOR_URL?:string
|
||||
BRANDING_URL?: string
|
||||
TELEGRAM_BOT_URL?: string
|
||||
AI_URL?:string
|
||||
|
||||
// Could be defined for dev environment
|
||||
FRONT_URL?: string
|
||||
@@ -307,6 +309,7 @@ export async function configurePlatform() {
|
||||
setMetadata(calendar.metadata.CalendarServiceURL, config.CALENDAR_URL ?? 'http://localhost:8095')
|
||||
setMetadata(notification.metadata.PushPublicKey, config.PUSH_PUBLIC_KEY)
|
||||
setMetadata(analyticsCollector.metadata.EndpointURL, config.ANALYTICS_COLLECTOR_URL)
|
||||
setMetadata(aiBot.metadata.EndpointURL, config.AI_URL)
|
||||
|
||||
setMetadata(github.metadata.GithubApplication, config.GITHUB_APP ?? '')
|
||||
setMetadata(github.metadata.GithubClientID, config.GITHUB_CLIENTID ?? '')
|
||||
@@ -365,6 +368,7 @@ export async function configurePlatform() {
|
||||
addLocation(timeId, () => import(/* webpackChunkName: "time" */ '@hcengineering/time-resources'))
|
||||
addLocation(desktopPreferencesId, () => import(/* webpackChunkName: "desktop-preferences" */ '@hcengineering/desktop-preferences-resources'))
|
||||
addLocation(analyticsCollectorId, async () => await import('@hcengineering/analytics-collector-resources'))
|
||||
addLocation(aiBotId, async () => await import('@hcengineering/ai-bot-resources'))
|
||||
|
||||
addLocation(trackerId, () => import(/* webpackChunkName: "tracker" */ '@hcengineering/tracker-resources'))
|
||||
addLocation(boardId, () => import(/* webpackChunkName: "board" */ '@hcengineering/board-resources'))
|
||||
|
||||
Reference in New Issue
Block a user