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
2 changes: 1 addition & 1 deletion agentkit/sdk/knowledge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from .client import AgentkitKnowledge
from .client import AgentkitKnowledgeClient
from .types import (
ListKnowledgeBasesRequest,
ListKnowledgeBasesResponse,
Expand Down
4 changes: 2 additions & 2 deletions agentkit/toolkit/builders/local_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def generate_dockerfile_content() -> str:

StringIO()

# 使用 renderer 渲染到字符串
# Use renderer to render to string
template = renderer.env.get_template(docker_config.template_name)
rendered = template.render(**context)
return rendered
Expand Down Expand Up @@ -372,7 +372,7 @@ def generate_dockerfile_content() -> str:
image=ImageInfo(
repository=image_name,
tag=image_tag,
digest=image_id, # Docker image ID 作为 digest
digest=image_id, # Docker image ID as digest
),
build_timestamp=datetime.now(),
build_logs=build_logs,
Expand Down
10 changes: 10 additions & 0 deletions agentkit/toolkit/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
from agentkit.toolkit.cli.cli_launch import launch_command
from agentkit.toolkit.cli.cli_status import status_command
from agentkit.toolkit.cli.cli_destroy import destroy_command
from agentkit.toolkit.cli.cli_memory import memory_app
from agentkit.toolkit.cli.cli_knowledge import knowledge_app
from agentkit.toolkit.cli.cli_tools import tools_app
from agentkit.toolkit.cli.cli_runtime import runtime_app

# Note: Avoid importing heavy packages at the top to keep CLI startup fast

Expand Down Expand Up @@ -92,6 +96,12 @@ def main(
app.command(name="status")(status_command)
app.command(name="destroy")(destroy_command)

# Sub-app groups
app.add_typer(memory_app, name="memory")
app.add_typer(knowledge_app, name="knowledge")
app.add_typer(tools_app, name="tools")
app.add_typer(runtime_app, name="runtime")


if __name__ == "__main__":
app()
Loading