Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #128 from jina-ai/fix-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zac-li committed Jul 12, 2023
2 parents 55c5a81 + 0f2d977 commit 86099dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lcserve/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
SLACKBOT_DEMO_APP_NAME = 'slackbot'
SLACK_BOT_NAME = 'langchain-bot'

JINA_VERSION = '3.18.0'
DOCARRAY_VERSION = '0.21.0'

ServingGatewayConfigFile = 'servinggateway_config.yml'
APP_LOGS_URL = "[https://cloud.jina.ai/](https://cloud.jina.ai/user/flows?action=detail&id={app_id}&tab=logs)"
PRICING_URL = "****{cph}**** ([Read about pricing here](https://github.com/jina-ai/langchain-serve#-pricing))"
Expand Down Expand Up @@ -408,6 +411,8 @@ def get_global_jcloud_args(app_id: str = None, name: str = APP_NAME) -> Dict:
'labels': {
'app': APP_NAME,
},
'version': JINA_VERSION,
'docarray': DOCARRAY_VERSION,
'monitor': {
'traces': {
'enable': True,
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/test_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
},
"jcloud": {
"name": "langchain",
"docarray": "0.21.0",
"version": "3.18.0",
"labels": {"app": "langchain"},
"monitor": {
"traces": {"enable": True},
Expand Down

0 comments on commit 86099dd

Please sign in to comment.