Skip to content

Commit 522d47f

Browse files
committed
fix: studio web and pyproject
1 parent 636efa0 commit 522d47f

4 files changed

Lines changed: 27 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,10 @@ dev = [
6464

6565
[tool.setuptools.packages.find]
6666
include = ["veadk*"]
67-
exclude = ["app*", "assets*", "examples*", "ide*", "tests*",]
67+
exclude = ["assets*", "ide*", "tests*"]
68+
69+
[tool.setuptools]
70+
include-package-data = true
71+
72+
[tool.setuptools.package-data]
73+
"veadk.cli.studio.web" = ["_next/**/*"]
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
git+https://github.com/volcengine/veadk-python.git
1+
veadk-python[eval] @ git+https://github.com/volcengine/veadk-python.git # extra eval for prompt optimization in veadk studio
2+
agent-pilot-sdk>=0.0.9 # extra dep for prompt optimization in veadk studio
23
uvicorn[standard]
34
fastapi

veadk/cli/studio/web/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2025 Beijing Volcano Engine Technology Co., Ltd. and/or its affiliates.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.

veadk/cloud/cloud_agent_engine.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ def deploy(
119119
Returns:
120120
str: Volcengine FaaS function endpoint.
121121
"""
122+
# prevent deepeval writing operations
123+
import veadk.config
124+
125+
veadk.config.veadk_environments["DEEPEVAL_TELEMETRY_OPT_OUT"] = "YES"
126+
122127
if use_studio:
123128
import veadk.config
124129

0 commit comments

Comments
 (0)