Skip to content

Commit

Permalink
Merge branch 'dev' into translate-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorrr authored Nov 27, 2024
2 parents 969f52b + 5fc0782 commit 08e5734
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/generate-openapi-code-from-typespec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
cache: npm
cache-dependency-path: 'typespec/package-lock.json'

- name: Install libboost
run: sudo apt-get install -y libboost-all-dev

- name: Install and configure Poetry
uses: snok/install-poetry@v1

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint-agents-api-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
with:
python-version: "3.12"

- name: Install libboost
run: sudo apt-get install -y libboost-all-dev

- name: Install and configure Poetry
uses: snok/install-poetry@v1

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-agents-api-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
with:
python-version: "3.12"

- name: Install libboost
run: sudo apt-get install -y libboost-all-dev

- name: Install and configure Poetry
uses: snok/install-poetry@v1

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/typecheck-agents-api-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
with:
python-version: "3.12"

- name: Install libboost
run: sudo apt-get install -y libboost-all-dev

- name: Install and configure Poetry
uses: snok/install-poetry@v1

Expand Down
9 changes: 4 additions & 5 deletions agents-api/agents_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
"""
The `agents_api` module serves as the foundation of the agent management system within the `agents-api` project. This module is responsible for defining the structure and capabilities of the API that manages agents. It includes operations such as creating, updating, listing, and deleting agents, as well as managing documents and tools associated with these agents. This file, in particular, acts as a configuration and initialization point for the `agents_api` package, and as per the directive, should not contain any imports.
The `agents_api` module serves as the foundation of the agent management system within the `agents-api` project.
This module is responsible for defining the structure and capabilities of the API that manages agents.
It includes operations such as creating, updating, listing, and deleting agents, as well as managing documents and tools associated with these agents.
"""

#################################
## Do NOT put any imports here ##
#################################
# Failed decoding arguments fixture
# Failed decoding arguments fix
from temporalio import workflow

with workflow.unsafe.imports_passed_through():
Expand Down
2 changes: 1 addition & 1 deletion agents-api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ datamodel-codegen \

[tool.poe.tasks.test]
env = { AGENTS_API_TESTING = "true", PYTHONPATH = "{PYTHONPATH}:." }
cmd = "ward test"
cmd = "ward test --exclude .venv"

0 comments on commit 08e5734

Please sign in to comment.