AutoGPTs CI (#5216)

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
merwanehamadi
2023-09-14 08:29:04 -07:00
committed by GitHub
parent 0ee7209c2b
commit 35e0184ca9
34 changed files with 321 additions and 226 deletions

View 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).

View File

@@ -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

View 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"