Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions agentkit/toolkit/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class CommonConfig(AutoSerializableMixin):
},
)
entry_point: str = field(
default="",
default="agent.py",
metadata={
"description": "Agent application entry file (path allowed), e.g. simple_agent.py or main.go or build.sh",
"icon": "📝",
Expand Down Expand Up @@ -110,7 +110,7 @@ class CommonConfig(AutoSerializableMixin):
},
)
launch_type: str = field(
default="local",
default="cloud",
metadata={
"description": "Deployment and runtime mode, defaults to local (local build and deploy), optional hybrid (local build, cloud deploy)",
"icon": "🚀",
Expand Down
10 changes: 8 additions & 2 deletions agentkit/toolkit/runners/ve_agentkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ class VeAgentkitRunnerConfig(AutoSerializableMixin):
# Container image configuration
image_url: str = field(default="", metadata={"description": "Container image URL"})

# Minimum instance count
min_instance: int = field(
default=1, metadata={"description": "Minimum number of Runtime instances"}
)


# VeAgentkitDeployResult has been replaced by unified DeployResult
# Configuration class is retained for backward compatibility
Expand Down Expand Up @@ -618,6 +623,7 @@ def _create_new_runtime(self, config: VeAgentkitRunnerConfig) -> DeployResult:
authorizer_configuration=authorizer_config,
client_token=generate_client_token(),
apmplus_enable=True,
min_instance=config.min_instance,
)

# Create Runtime
Expand All @@ -635,7 +641,7 @@ def _create_new_runtime(self, config: VeAgentkitRunnerConfig) -> DeployResult:
runtime_id=config.runtime_id,
target_status=RUNTIME_STATUS_READY,
task_description="Waiting for Runtime to be ready...",
timeout=None, # No timeout for creation
timeout=600,
error_message="Initialization failed",
)

Expand Down Expand Up @@ -1036,7 +1042,7 @@ def _update_existing_runtime(self, config: VeAgentkitRunnerConfig) -> DeployResu
runtime_id=config.runtime_id,
target_statuses=[RUNTIME_STATUS_UNRELEASED, RUNTIME_STATUS_READY],
task_description="Waiting for Runtime update to complete...",
timeout=180,
timeout=600,
error_message="Update failed",
)

Expand Down
2 changes: 1 addition & 1 deletion agentkit/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

VERSION = "0.1.15"
VERSION = "0.2.0"
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "agentkit-sdk-python"
version = "0.1.15"
version = "0.2.0"
description = "Python SDK for transforming any AI agent into a production-ready application. Framework-agnostic primitives for runtime, memory, authentication, and tools with volcengine-managed infrastructure."
readme = "README.md"
requires-python = ">=3.10"
Expand All @@ -26,10 +26,10 @@ dependencies = [
"a2a-sdk>=0.3.7",
"fastapi>=0.117.1",
"fastmcp>=2.12.3",
"opentelemetry-api>=1.32.1",
"opentelemetry-exporter-otlp-proto-common>=1.32.1",
"opentelemetry-exporter-otlp-proto-grpc>=1.32.1",
"opentelemetry-sdk>=1.32.1",
"opentelemetry-api>=1.32.1, <=1.37.0",
"opentelemetry-exporter-otlp-proto-common>=1.32.1, <=1.37.0",
"opentelemetry-exporter-otlp-proto-grpc>=1.32.1, <=1.37.0",
"opentelemetry-sdk>=1.32.1, <=1.37.0",
"pydantic>=2.11.9",
"requests>=2.32.5",
"uvicorn>=0.37.0",
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
a2a-sdk>=0.3.7
fastapi>=0.117.1
fastmcp>=2.12.3
opentelemetry-api>=1.32.1
opentelemetry-exporter-otlp-proto-common>=1.32.1
opentelemetry-exporter-otlp-proto-grpc>=1.32.1
opentelemetry-sdk>=1.32.1
opentelemetry-api>=1.32.1, <=1.37.0
opentelemetry-exporter-otlp-proto-common>=1.32.1, <=1.37.0
opentelemetry-exporter-otlp-proto-grpc>=1.32.1, <=1.37.0
opentelemetry-sdk>=1.32.1, <=1.37.0
pydantic>=2.11.9
requests>=2.32.5
uvicorn>=0.37.0
Expand Down