Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
0047ed2
Merge pull request #13 from Callgent/chore
Jamesp918 May 23, 2024
0e9d590
Merge pull request #18 from Callgent/dev
Jamesp918 May 27, 2024
7fa683e
refactor: rename to callgent
dev-callgent May 27, 2024
af83e70
Merge pull request #19 from Callgent/rename-to-callgent
Jamesp918 May 27, 2024
0bfea12
docs: uaas, import api
dev-callgent May 28, 2024
a47ebc1
build: seed:test
dev-callgent May 29, 2024
a61658d
ci: prebuild for render.com
dev-callgent May 29, 2024
35db1de
Merge pull request #23 from Callgent/user-as-a-service
Jamesp918 May 29, 2024
0fd440d
fix: prisma init rls
dev-callgent May 29, 2024
49838c0
fix: cors
ZhaoYongchao May 29, 2024
1ca67b4
refactor: seed-test
dev-callgent May 30, 2024
4c00f4d
Merge pull request #24 from Callgent/user-as-a-service
dev-callgent May 30, 2024
b30d57a
ci: add render.yaml
dev-callgent May 30, 2024
52dc524
ci: add render.yaml
dev-callgent May 30, 2024
a655d43
refactor: upgrade node version dependency
ahlon Jun 6, 2024
a81e3d7
refactor: add run tests in devlog
ahlon Jun 7, 2024
835aaf4
refactor: update devlog
ahlon Jun 7, 2024
a3d7821
fix: add origin
ZhaoYongchao Jun 19, 2024
d6aecfa
refactor: list adaptors
dev-callgent Jun 21, 2024
5990215
feat: endpoints api
dev-callgent Jun 21, 2024
0cc8914
docs: rename mail
dev-callgent Jun 21, 2024
f6de859
Merge branch 'user-as-a-service'
ZhaoYongchao Jun 24, 2024
8063ebb
docs: rename mailHost
dev-callgent Jun 24, 2024
0096ec3
Merge pull request #39 from Callgent/user-as-a-service
Jamesp918 Jun 24, 2024
b1233f6
feat: get /api/bff/callgent-endpoints/{uuid}
dev-callgent Jun 24, 2024
5dd3696
feat: post /api/bff/callgent-endpoints
dev-callgent Jun 25, 2024
d56199f
feat: get /api/bff/callgent-endpoints/{uuid}
dev-callgent Jun 25, 2024
f742340
refactor: uuid to id
dev-callgent Jun 25, 2024
e9dd551
refactor: endpoint ids
dev-callgent Jun 26, 2024
81eb948
refactor: rename email adaptor key
dev-callgent Jun 27, 2024
49bc8ac
feat: ep name
dev-callgent Jun 27, 2024
a2c41f7
refactor: update test case doc
ahlon Jun 27, 2024
56b4adb
Merge branch 'user-as-a-service' of https://github.com/Callgent/callg…
ahlon Jun 27, 2024
fc79d90
fix: register
ZhaoYongchao Jun 28, 2024
90b85bd
feat: sep functions in tree
dev-callgent Jul 1, 2024
c484ec6
feat: returns existing when creating callgent
dev-callgent Jul 7, 2024
a183109
fix: find many functions
dev-callgent Jul 7, 2024
32834f6
fix: get callgent by name
dev-callgent Jul 7, 2024
db8d5fa
feat: callgent-function tree
dev-callgent Jul 9, 2024
1189246
feat: callgent-function tree
dev-callgent Jul 11, 2024
77d6522
refactor: pk, id
dev-callgent Aug 22, 2024
dc63a74
Merge pull request #48 from Callgent/user-as-a-service
Jamesp918 Aug 22, 2024
10542c0
ci: node version
dev-callgent Aug 22, 2024
d8303b1
Merge pull request #49 from Callgent/user-as-a-service
dev-callgent Aug 22, 2024
ace2edd
ci: docker file
dev-callgent Aug 22, 2024
d217231
Merge pull request #50 from Callgent/user-as-a-service
dev-callgent Aug 22, 2024
5092850
ci: docker file
dev-callgent Aug 22, 2024
40d1145
Merge pull request #51 from Callgent/user-as-a-service
dev-callgent Aug 22, 2024
4bff20b
Update bootstrap.ts
dev-callgent Aug 22, 2024
2ad16c3
Revert "Update bootstrap.ts"
dev-callgent Aug 22, 2024
2587a1a
Update Dockerfile
dev-callgent Aug 22, 2024
39d7781
Update Dockerfile
dev-callgent Aug 22, 2024
2c81896
Update Dockerfile
dev-callgent Aug 22, 2024
8d7951e
fix: uaas e2e test
dev-callgent Aug 27, 2024
aeba935
fix: map 2 function
dev-callgent Aug 28, 2024
daf5981
refactor: store callgent-function as formal openapi.json
dev-callgent Aug 29, 2024
fa081e3
refactor: map 2 function
dev-callgent Aug 30, 2024
ef176a2
ci: security/dependabot/11
dev-callgent Aug 30, 2024
8a2bd99
Merge pull request #58 from Callgent/feature/sandbox-service
Jamesp918 Aug 30, 2024
d3c0fe4
feat: sparkpost relay-webhook integration
dev-callgent Sep 2, 2024
b0c5eed
Merge pull request #62 from Callgent/fix/invocation
Jamesp918 Sep 2, 2024
64a687d
feat: sparkpost relay-webhook integration
dev-callgent Sep 2, 2024
a26741a
Merge pull request #63 from Callgent/fix/invocation
Jamesp918 Sep 2, 2024
0278cd2
Update auth.controller.ts
dev-callgent Sep 2, 2024
19a95f0
feat: sparkpost relay-webhook integration
dev-callgent Sep 2, 2024
caaa0a4
Update auth.controller.ts
dev-callgent Sep 2, 2024
2ed0104
Update auth.controller.ts
dev-callgent Sep 2, 2024
0067133
Update emails.service.ts
dev-callgent Sep 2, 2024
1a6157c
Update emails.service.ts
dev-callgent Sep 2, 2024
459db76
refactor: db relation and migrations
dev-callgent Sep 3, 2024
5b7a724
refactor: status code
dev-callgent Sep 4, 2024
b5ba05e
feat: sparkpost relay-webhook integration
dev-callgent Sep 4, 2024
7ec3a20
refactor: callgent-function.raw-json
dev-callgent Sep 5, 2024
6775e1f
feat: sparkpost relay-webhook integration
dev-callgent Sep 5, 2024
7c578e8
feat: sparkpost relay-webhook integration
dev-callgent Sep 5, 2024
7f43d18
feat: sep-email response handling
dev-callgent Sep 7, 2024
b2bf5b9
feat: sep-email response handling
dev-callgent Sep 8, 2024
c198ae8
Merge branch 'fix/invocation' into main
Jamesp918 Sep 8, 2024
1822b22
Merge pull request #64 from Callgent/main
Jamesp918 Sep 8, 2024
b13cbbb
Merge pull request #65 from Callgent/fix/invocation
Jamesp918 Sep 8, 2024
bff6ed9
fix: llm cache data
dev-callgent Sep 11, 2024
45e4920
Merge pull request #70 from Callgent/feature/callgent-hub
Jamesp918 Sep 11, 2024
cbe4624
fix: http status code must positive
dev-callgent Sep 18, 2024
189e3c9
feat: callgent auth
dev-callgent Sep 18, 2024
4b982c7
feat: callgent auth
dev-callgent Sep 21, 2024
318bdf2
feat: callgent auth
dev-callgent Sep 21, 2024
4c582a0
feat: callgent auth
dev-callgent Sep 21, 2024
aeedd9a
feat: callgent realm apis
dev-callgent Sep 21, 2024
1d934af
feat: callgent auth process
dev-callgent Sep 22, 2024
8b268c6
feat: callgent rest-sep invocation
dev-callgent Sep 24, 2024
eecd4b4
feat: callgent rest-sep invocation
dev-callgent Sep 25, 2024
5ae3796
Merge pull request #73 from Callgent/feature/callgent-hub
Jamesp918 Sep 25, 2024
916f22b
feat: prisma sql log with params
dev-callgent Sep 25, 2024
3729dfd
Merge pull request #74 from Callgent/feature/callgent-hub
Jamesp918 Sep 25, 2024
5bf6949
feat: callgent rest-sep invocation
dev-callgent Sep 25, 2024
073e2f9
fix: prisma seed
dev-callgent Sep 25, 2024
8d0cb5a
feat: callgent hub
dev-callgent Sep 26, 2024
cb3a355
feat: callgent hub
dev-callgent Sep 27, 2024
a83a1a8
feat: bff with callgent realms
dev-callgent Sep 27, 2024
e09a28e
feat: bff with callgent realms
dev-callgent Sep 27, 2024
8d8dc92
feat: bff with callgent realms
dev-callgent Sep 27, 2024
71b74e1
feat: bff with callgent realms
dev-callgent Sep 27, 2024
bdc0758
feat: bff with callgent realms
dev-callgent Sep 28, 2024
0da7151
feat: bff with callgent realms
dev-callgent Sep 28, 2024
f08de81
docs: dev log
dev-callgent Sep 28, 2024
e0c7a61
feat: update securities
dev-callgent Sep 29, 2024
65ece1b
feat: update securities
dev-callgent Sep 29, 2024
25e6bfb
feat: callgent stats
dev-callgent Sep 29, 2024
23a252b
feat: callgent stats
dev-callgent Sep 29, 2024
c2d6c26
ci: prisma log
dev-callgent Oct 1, 2024
412ee34
ci: prisma log
dev-callgent Oct 7, 2024
599f4b6
refactor: rest cep api
dev-callgent Oct 9, 2024
5413fa3
refactor: rest cep api
dev-callgent Oct 9, 2024
95c913c
feat: unstructured callgent request
dev-callgent Oct 9, 2024
bad72d3
refactor: rename endpoint to entry
dev-callgent Oct 9, 2024
2febd12
refactor: rename callgent-function to endpoint
dev-callgent Oct 10, 2024
0db42ec
Merge pull request #79 from Callgent/feature/callgent-hub
Jamesp918 Oct 10, 2024
ed62583
refactor: rename funName to epName
dev-callgent Oct 12, 2024
f318cf0
feat: webpage entry: service
dev-callgent Oct 12, 2024
b9e4526
feat: auto-gen host when creating centry
dev-callgent Oct 13, 2024
553e188
chore(deps): update multiple versions
dev-callgent Oct 13, 2024
ee2368c
chore(deps): update multiple versions
dev-callgent Oct 13, 2024
18fffad
Merge pull request #80 from Callgent/feature/web-entry
Jamesp918 Oct 13, 2024
398cc85
Merge pull request #81 from Callgent/main
dev-callgent Oct 13, 2024
f3efbd7
feat: agent for invoke/request
dev-callgent Oct 18, 2024
61cdc2e
feat: agent for invoke/request
dev-callgent Oct 19, 2024
126aeaf
feat: agent for invoke/request
dev-callgent Oct 19, 2024
5853c08
refactor: event task id
dev-callgent Oct 19, 2024
1007d0e
feat: summarizes document summary/instruction
dev-callgent Oct 20, 2024
27074b6
feat: summarizes document summary/instruction
dev-callgent Oct 22, 2024
b5d8973
feat: summarizes document summary/instruction
dev-callgent Oct 22, 2024
0e6858c
feat: generate vue app
dev-callgent Oct 25, 2024
c46236d
refactor: llm cache with model name
dev-callgent Oct 25, 2024
5868cca
feat: llm models fallback
dev-callgent Oct 26, 2024
2f5a5a0
feat: llm models fallback
dev-callgent Oct 26, 2024
f7bf196
feat: llm models fallback
dev-callgent Oct 27, 2024
f64518c
feat: generate vue app
dev-callgent Oct 27, 2024
b6b5710
feat: generate vue app
dev-callgent Oct 27, 2024
504a1f0
feat: generate vue app
dev-callgent Oct 28, 2024
52c7c60
feat: generate vue app
dev-callgent Oct 30, 2024
a668b67
feat: generate vue app
dev-callgent Oct 30, 2024
94ea960
fix: dotenv for seed test
dev-callgent Nov 7, 2024
4e025b1
refactor: event object structure
dev-callgent Oct 31, 2024
0b354dc
feat: generate vue app
dev-callgent Oct 31, 2024
446d5de
fix: pass tests
dev-callgent Oct 31, 2024
6ad437d
feat: generate vue app
dev-callgent Nov 3, 2024
04564fd
feat: generate vue app
dev-callgent Nov 3, 2024
f434b3b
fix: anonymous invoke
dev-callgent Nov 3, 2024
152acb7
fix: test-seed
dev-callgent Nov 7, 2024
65742eb
feat: entry adaptor icon
dev-callgent Nov 7, 2024
90ef968
fix(dockerfile): reduce vulnerabilities
dev-callgent Nov 8, 2024
da2e1b0
fix: entry icon
dev-callgent Nov 8, 2024
c09e8ab
feat: rest adaptor original response
dev-callgent Nov 9, 2024
00dee4a
fix: tenant login
dev-callgent Nov 9, 2024
77fa364
refactor: sep auth, icon url
dev-callgent Nov 10, 2024
8d08886
feat: multi-endpoints invocation
dev-callgent Nov 15, 2024
526d880
feat: health and rate limit
dev-callgent Nov 16, 2024
f9b494b
refactor: rename to infras
dev-callgent Nov 16, 2024
fa0358d
feat: sep invoke chain
dev-callgent Nov 16, 2024
f426542
feat: multi-endpoints invocation
dev-callgent Nov 17, 2024
2cf667c
feat: jwt revoke
dev-callgent Nov 18, 2024
05075a0
feat: sep invoke chain
dev-callgent Nov 21, 2024
8e02ace
feat: sep invoke chain
dev-callgent Nov 22, 2024
8811a77
feat: sep invoke chain
dev-callgent Nov 23, 2024
526c45a
feat: sep invoke chain
dev-callgent Nov 24, 2024
6574103
fix: error messages
dev-callgent Nov 26, 2024
cf0402b
feat: import postman.json apis
dev-callgent Nov 27, 2024
bd7eadc
docs(readme): add blog url
dev-callgent Nov 29, 2024
070352c
fix: init client entry host
dev-callgent Dec 3, 2024
c28b668
feat: request with files; summary opt
dev-callgent Dec 10, 2024
a96bbf6
feat: request with files
dev-callgent Dec 10, 2024
d202785
feat: request with files
dev-callgent Dec 11, 2024
4403120
feat: event.pwd
dev-callgent Dec 11, 2024
cfbca80
feat: event.pwd
dev-callgent Dec 12, 2024
60a57b0
feat(map2endpoints): choose/confirm eps done
dev-callgent Dec 17, 2024
d9879b3
refactor(map2endpoints): prompts optimizing
dev-callgent Jan 10, 2025
82e54eb
feat(map2endpoints): script class generation
dev-callgent Jan 12, 2025
bb5a758
feat(map2endpoints): install generated package, ready to execute
dev-callgent Jan 14, 2025
c3f9dca
refactor(tasks): clean deprecated task modules
dev-callgent Jan 15, 2025
c54eab6
feat(dockerfile): install criu for process checkpoint
dev-callgent Jan 16, 2025
b5a0f31
refactor(docker-compose): easy to run from docker-compose
dev-callgent Jan 16, 2025
fad48d8
feat: add stripe payment and billing details functionality
Jan 16, 2025
36101b3
Merge branch 'feature/hub' of https://github.com/Callgent/callgent-ap…
Jan 16, 2025
9caf991
refactor(billing): schema refactor
dev-callgent Jan 16, 2025
3221bdd
refactor(invoke-service): concurrent invocation with invoke id
dev-callgent Jan 21, 2025
a302373
refactor(invoke-service): concurrent invocation with invoke id
dev-callgent Jan 21, 2025
2b32c90
fix: payment failure callback
ZhaoYongchao Jan 21, 2025
c3b02ae
refactor(invoke-service): concurrent invocation with invoke id
dev-callgent Jan 21, 2025
6a37fc8
fix: initialize llmModel
ZhaoYongchao Jan 21, 2025
43252d6
fix: automatically create balance information
ZhaoYongchao Jan 21, 2025
353b7cc
fix: fixmy
ZhaoYongchao Jan 21, 2025
0f80dfe
refactor(invoke-service): concurrent invocation with invoke id
dev-callgent Jan 22, 2025
a52a873
refactor(invoke-service): concurrent invocation with invoke id
dev-callgent Jan 22, 2025
d2d769b
refactor(invoke-service): concurrent invocation with invoke id
dev-callgent Jan 23, 2025
8c89028
fix: insufficient balance
ZhaoYongchao Jan 23, 2025
bc57558
refactor(invoke-service): concurrent invocation with invoke id
dev-callgent Jan 26, 2025
e4da10f
feat(script-runner): agent to fix task script error
dev-callgent Jan 28, 2025
abf670e
chore: bump verson for vulnerability
dev-callgent Feb 2, 2025
680151c
fix(invoke): subprocess invoking
dev-callgent Feb 11, 2025
b2b783e
feat(entries): list server entries
dev-callgent Feb 12, 2025
8c36f24
feat(event-stores): list my event tasks
dev-callgent Feb 13, 2025
a47feda
feat(event-stores): list my event tasks
dev-callgent Feb 14, 2025
8c58a56
fix(invoke-service): send line into pipe
dev-callgent Feb 14, 2025
a0c74f5
refactor(billing): tx and billing and llm expense
dev-callgent Feb 23, 2025
00ed8c7
refactor(billing): tx and billing and llm expense
dev-callgent Feb 23, 2025
e9c5f48
refactor: unique and logic deletion
dev-callgent Feb 23, 2025
6cdb13e
fix(billing): sync event handling
dev-callgent Feb 24, 2025
833da60
fix(billing): model expense
dev-callgent Feb 24, 2025
9f4ac55
fix(event-listeners): sync events handling
dev-callgent Feb 24, 2025
fcfad2a
Merge pull request #90 from Callgent/feature/hub
dev-callgent Feb 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vscode/
node_modules/
dist/
upload/
npm-debug.log
50 changes: 40 additions & 10 deletions .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,34 @@ SITE_ROOT_DOMAIN=localhost
SITE_ROOT_URL=http://localhost:3000
SITE_API_URL=${SITE_ROOT_URL}/api
FRONTEND_SITE_URL=http://localhost:3030
FRONTEND_DOCS_URL=http://localhost:4000
FRONTEND_APP_URL=http://localhost:8000

# must be in .env, default 1M
REQUEST_BODY_LIMIT=1048576

LOG_LEVEL=debug
# default to stdout
# LOG_FILE_PATH=
# async log buffer length
LOG_BUFFER_LENGTH=4096

LOG_LEVELS_PRISMA=["query","info","warn","error"]
LOG_LEVELS_PRISMA=[{"emit":"event", "level":"query"},"info","warn","error"]

ALLOW_CORS=1

POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=botlet
POSTGRES_HOST=nest-postgres
POSTGRES_PORT=5432
POSTGRES_USER=callgent
POSTGRES_PASSWORD=cAllgent123
POSTGRES_DB=callgent

# See https://www.prisma.io/docs/concepts/database-connectors/postgres
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@nest-postgres:5432/${POSTGRES_DB}?schema=public&timezone=UTC
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?schema=public&timezone=UTC
# To have acccess to the database container from your local machine
# use the DATABASE_URL below which replaces nest-postgres (container name) with localhost
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB}?schema=public&timezone=UTC
# DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:${POSTGRES_PORT}/${POSTGRES_DB}?schema=public&timezone=UTC
PRISMA_TRANSACTION_TIMEOUT=120000000

DEFAULT_API_VERSION='1'
DOCUMENTATION_VERSION='0.0.1' # DEV_ONLY no doc/test data generated if null
Expand All @@ -41,12 +49,34 @@ GITHUB_OAUTH_CLIENT_SECRET = 76dc98b5554636b5c924cd4854ad3f62e4f0cc3b
GOOGLE_OAUTH_CLIENT_ID = 183236050953-rg2khnknb0tif2a5urepho0k22call16.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET = 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

LLM_MODEL=mistralai/mistral-small
# LLM_MODELS=["anthropic/claude-3.5-sonnet"] # "openai/gpt-4o-2024-08-06"] # "openai/gpt-4o-mini"]
LLM_CHAT_URL=https://openrouter.ai/api/v1/chat/completions
LLM_COMPLETION_URL=https://openrouter.ai/api/v1/chat/completions
LLM_MODELS=["google/gemini-flash-1.5-8b-exp","meta-llama/llama-3.1-70b-instruct:free","nousresearch/hermes-3-llama-3.1-405b:free"]
LLM_CACHE_ENABLE=1
OPENROUTER_API_KEY=sk-or-v1-your-api-key
BOTLET_SITE_URL=https://botlet.io
BOTLET_SITE_NAME=Botlet.IO
LLM_API_KEY=sk-or-v1-your-api-key
CALLGENT_SITE_URL=https://callgent.com
CALLGENT_SITE_NAME=Callgent.com

EMAIL_DEFAULT_SENDER={"name": "Callgent", "email": "noreply@callgent.com"}
EMAIL_RELAY_HOST=mytest.callgent.com

# https://app.brevo.com/settings/keys/api
EMAIL_BREVO_API_KEY=key
EMAIL_SPARKPOST_API_KEY=xxx
EMAIL_SPARKPOST_RELAY_CLIENT_ID=spark-post-relayer
EMAIL_SPARKPOST_RELAY_CLIENT_SECRET=xxx
EMAIL_SPARKPOST_RELAY_EXPIRES_IN=86400

# slow sql threshold, default 10000
SLOW_SQL_THRESHOLD=10000

WEBPAGE_PACKAGES_COMPONENT=["vue@3.5.12","vue-router@4.4.5","element-plus@2.8.6","vee-validate@4.14.6","yup@1.4.0","pinia@2.2.4","axios@1.7.7"]
WEBPAGE_PACKAGES_STORE=[]

UPLOAD_BASE_DIR=./upload

# stripe: https://dashboard.stripe.com/test/dashboard
STRIPE_KEY=xxx
STRIPE_WEBHOOK_SECRET=whsec_pigSfZrD8Xr51Qa2e8EyYjsh3XdVLXb4
STRIPE_API_VERSION=2024-12-18.acacia
30 changes: 22 additions & 8 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ SITE_ROOT_DOMAIN=localhost
SITE_ROOT_URL=http://localhost:3000
SITE_API_URL=${SITE_ROOT_URL}/api
FRONTEND_SITE_URL=http://localhost:3030
FRONTEND_DOCS_URL=http://localhost:4000
FRONTEND_APP_URL=http://localhost:8000

LOG_LEVEL=debug
# default to stdout
# LOG_FILE_PATH=
# async log buffer length
LOG_BUFFER_LENGTH=4096

LOG_LEVELS_PRISMA=["query","info","warn","error"]
LOG_LEVELS_PRISMA=[{"emit":"event", "level":"query"},"info","warn","error"]


POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=botlet
POSTGRES_DB=callgent

# See https://www.prisma.io/docs/concepts/database-connectors/postgres
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@nest-postgres:5432/${POSTGRES_DB}?schema=public&timezone=UTC
Expand All @@ -40,14 +42,26 @@ GITHUB_OAUTH_CLIENT_SECRET = 76dc98b5554636b5c924cd4854ad3f62e4f0cc3b
GOOGLE_OAUTH_CLIENT_ID = 183236050953-rg2khnknb0tif2a5urepho0k22call16.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET = 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

TEST_CANNY_IO_API_KEY=567b9c2f-9708-3ccb-4189-e0a5f4e130ba

LLM_MODEL=mistralai/mistral-small
LLM_CHAT_URL=https://openrouter.ai/api/v1/chat/completions
LLM_COMPLETION_URL=https://openrouter.ai/api/v1/chat/completions
LLM_MODELS=["google/gemini-flash-1.5-8b-exp","meta-llama/llama-3.1-70b-instruct:free","nousresearch/hermes-3-llama-3.1-405b:free"]
LLM_CACHE_ENABLE=1
OPENROUTER_API_KEY=sk-or-v1-your-api-key
BOTLET_SITE_URL=https://botlet.io
BOTLET_SITE_NAME=Botlet.IO
LLM_API_KEY=sk-or-v1-your-api-key
CALLGENT_SITE_URL=https://callgent.com
CALLGENT_SITE_NAME=Callgent.com

EMAIL_DEFAULT_SENDER={"name": "Callgent", "email": "noreply@callgent.com"}
EMAIL_RELAY_HOST=mytest.callgent.com

# https://app.brevo.com/settings/keys/api
EMAIL_BREVO_API_KEY=key
EMAIL_SPARKPOST_API_KEY=xxx
EMAIL_SPARKPOST_RELAY_CLIENT_ID=spark-post-relayer
EMAIL_SPARKPOST_RELAY_CLIENT_SECRET=xxx
EMAIL_SPARKPOST_RELAY_EXPIRES_IN=86400

# slow sql threshold, default 10000
SLOW_SQL_THRESHOLD=10000

WEBPAGE_PACKAGES_COMPONENT=["vue@3.5.12","vue-router@4.4.5","element-plus@2.8.6","vee-validate@4.14.6","yup@1.4.0"]
WEBPAGE_PACKAGES_STORE=["pinia@2.2.4","axios@1.7.7"]
16 changes: 8 additions & 8 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
blank_issues_enabled: false
contact_links:
- name: Product Feature Request
url: https://botlet.canny.io/feature-requests
about: Provide feedback to the Botlet team and ask for new features or enhancements!
url: https://callgent.canny.io/feature-requests
about: Provide feedback to the Callgent team and ask for new features or enhancements!
- name: Documentation Bug Report
url: https://github.com/botlet/botlet-doc/issues/new?template=BUG_REPORT.md&title%5B%5D=BUG
about: Create a report to help us improve the Botlet documentation.
url: https://github.com/callgent/callgent-doc/issues/new?template=BUG_REPORT.md&title%5B%5D=BUG
about: Create a report to help us improve the Callgent documentation.
# - name: Documentation Request
# url: https://feedback.botlet.io/documentation
# url: https://feedback.callgent.com/documentation
# about: Suggest a new part of the documentation we are missing!
# - name: Botlet Questions and Discussions
# url: https://forum.botlet.io
# - name: Callgent Questions and Discussions
# url: https://forum.callgent.com
# about: Please ask and answer questions on the community forums.
- name: Join the Community Discord
url: https://botlet.io/discord
url: https://callgent.com/discord
about: Come and chat with other community members!
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# compiled output
/dist
/node_modules
**/upload
**/node_modules
**/tmp

# generated files
/src/*/dto/*.dto.ts
/src/*/entities/*.entity.ts
/prisma/migrations/20*

# Logs
logs
Expand Down
2 changes: 2 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/bin/sh

npx --no-install commitlint --edit "$1"
8 changes: 5 additions & 3 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh

# check 'Signed-off-by' in commit message
git_commit_message=$(cat $1)
if [[ "$git_commit_message" != *"Signed-off-by: "* ]]; then
git_commit_message=$(cat "$1")
if [ -z "$(echo "$git_commit_message" | grep 'Signed-off-by: ')" ]; then
echo
echo "\033[31mError\033[0m:"
echo "Commit message is missing the Signed-off-by line."
Expand All @@ -10,4 +12,4 @@ if [[ "$git_commit_message" != *"Signed-off-by: "* ]]; then
exit 1
fi

exit 0
exit 0
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.16.0
v18.20.3
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.16.0
v18.20.3
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [support@botlet.io](mailto:support@botlet.io). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [support@callgent.com](mailto:support@callgent.com). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing Guide

Thank you for considering contributing to Botlet.IO! We appreciate your time and effort. This document provides guidelines to contribute to the project.
Thank you for considering contributing to Callgent.com! We appreciate your time and effort. This document provides guidelines to contribute to the project.

## Table of Contents

Expand Down Expand Up @@ -34,7 +34,7 @@ There are several ways you can contribute to the project:

### Reporting Bugs

If you encounter any issues, please [open an issue](https://github.com/botlet-io/botlet-api/issues) on the GitHub repository. Provide as much detail as possible, including steps to reproduce the issue if applicable.
If you encounter any issues, please [open an issue](https://github.com/Callgent/callgent-api/issues) on the GitHub repository. Provide as much detail as possible, including steps to reproduce the issue if applicable.

### Suggesting Enhancements

Expand Down
Loading