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
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "surfkit"
version = "0.1.421"
version = "0.1.422"
description = "A toolkit for building AI agents that use devices"
authors = ["Patrick Barker <patrickbarkerco@gmail.com>", "Jeffrey Huckabay <jfhucka@gmail.com>"]
license = "MIT"
Expand All @@ -19,7 +19,7 @@ litellm = "^1.35.8"
rich = "^13.7.1"
tqdm = "^4.66.4"
agentcore = "^0.1.2"
agentdesk = "^0.2.134"
agentdesk = "^0.2.135"
taskara = "^0.1.244"


Expand Down
5 changes: 4 additions & 1 deletion surfkit/runtime/agent/kube.py
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,8 @@ def learn_task_with_job(
auth_server: str = AGENTSEA_AUTH_URL,
nebu_server: str = NEBU_SERVER,
orign_server: str = ORIGN_SERVER,
labels: Optional[Dict[str, str]] = None,
extra_spec: Optional[Dict[str, str]] = None,
debug: bool = False,
) -> None:
"""
Expand Down Expand Up @@ -1323,6 +1325,7 @@ def learn_task_with_job(
pod_spec = client.V1PodSpec(
containers=[container],
restart_policy="Never",
**(extra_spec or {})
)

# Incorporate any relevant annotations/labels
Expand All @@ -1332,7 +1335,7 @@ def learn_task_with_job(
"agent_type": agent_type.name,
"agent_model": agent_type.to_v1().model_dump_json(),
}
labels = {"provisioner": "surfkit"}
labels = {"provisioner": "surfkit", **(labels or {})}

# Construct the pod template
template = client.V1PodTemplateSpec(
Expand Down
Loading