mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-18 02:32:04 -05:00
AutoGPTs CI (#5216)
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
15
benchmark/agent_protocol_client/README.md
Normal file
15
benchmark/agent_protocol_client/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Agent Communication Protocol - Python Client
|
||||
|
||||
Python client for Agent Communication Protocol. This client simplifies the communication with the agent.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install agent-protocol-client
|
||||
```
|
||||
|
||||
## Getting Started
|
||||
|
||||
You can find simple usage in the example [here](./examples/minimal.py).
|
||||
|
||||
For more functionalities look at the [API docs](./docs/AgentApi.md).
|
||||
@@ -0,0 +1,42 @@
|
||||
# coding: utf-8
|
||||
|
||||
# flake8: noqa
|
||||
|
||||
"""
|
||||
Agent Communication Protocol
|
||||
|
||||
Specification of the API protocol for communication with an agent. # noqa: E501
|
||||
|
||||
The version of the OpenAPI document: v0.2
|
||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||
|
||||
Do not edit the class manually.
|
||||
"""
|
||||
|
||||
|
||||
__version__ = "1.0.0"
|
||||
|
||||
# import apis into sdk package
|
||||
from agent_protocol_client.api.agent_api import AgentApi
|
||||
from agent_protocol_client.api_client import ApiClient
|
||||
|
||||
# import ApiClient
|
||||
from agent_protocol_client.api_response import ApiResponse
|
||||
from agent_protocol_client.configuration import Configuration
|
||||
from agent_protocol_client.exceptions import (
|
||||
ApiAttributeError,
|
||||
ApiException,
|
||||
ApiKeyError,
|
||||
ApiTypeError,
|
||||
ApiValueError,
|
||||
OpenApiException,
|
||||
)
|
||||
|
||||
# import models into sdk package
|
||||
from agent_protocol_client.models.artifact import Artifact
|
||||
from agent_protocol_client.models.step import Step
|
||||
from agent_protocol_client.models.step_all_of import StepAllOf
|
||||
from agent_protocol_client.models.step_request_body import StepRequestBody
|
||||
from agent_protocol_client.models.task import Task
|
||||
from agent_protocol_client.models.task_all_of import TaskAllOf
|
||||
from agent_protocol_client.models.task_request_body import TaskRequestBody
|
||||
29
benchmark/agent_protocol_client/pyproject.toml
Normal file
29
benchmark/agent_protocol_client/pyproject.toml
Normal file
@@ -0,0 +1,29 @@
|
||||
[tool.poetry]
|
||||
name = "agent-protocol-client"
|
||||
version = "0.2.2"
|
||||
description = "Agent Communication Protocol Client"
|
||||
authors = ["e2b <hello@e2b.dev>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
homepage = "https://e2b.dev/"
|
||||
repository = "https://github.com/e2b-dev/sdk/tree/main/agent_client/python/"
|
||||
packages = [{ include = "agent_protocol_client" }]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
|
||||
urllib3 = ">= 1.25.3"
|
||||
python-dateutil = ">=2.8.2"
|
||||
aiohttp = ">= 3.8.4"
|
||||
pydantic = "^1.10.5, <2"
|
||||
aenum = ">=3.1.11"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
black = "^23.7.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry.urls]
|
||||
"Bug Tracker" = "https://github.com/e2b-dev/agent-protocol/issues"
|
||||
Reference in New Issue
Block a user