Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev -> main #502

Merged
merged 311 commits into from
Sep 17, 2024
Merged

dev -> main #502

merged 311 commits into from
Sep 17, 2024

Conversation

creatorrr
Copy link
Contributor

No description provided.

Diwank Tomer and others added 30 commits August 5, 2024 17:59
feat: new routes for docs, users, search
feat(agents-api): Add litellm proxy to docker compose
* **agents-api/tests/test_agent_queries.py**
  - Update import statements to reflect the new location of the model functions
  - Update function calls to the new location of the model functions
  - Add `from agents_api.autogen.openapi_model import Agent` back

* **agents-api/tests/test_docs_queries.py**
  - Update import statements to reflect the new location of the model functions

* **agents-api/tests/test_entry_queries.py**
  - Update import statements to reflect the new location of the model functions

* **agents-api/tests/test_execution_queries.py**
  - Update import statements to reflect the new location of the model functions

* **agents-api/tests/test_session_queries.py**
  - Update import statements to reflect the new location of the model functions

* **agents-api/tests/test_task_queries.py**
  - Update import statements to reflect the new location of the model functions

* **agents-api/tests/test_tool_queries.py**
  - Update import statements to reflect the new location of the model functions

* **agents-api/tests/test_user_queries.py**
  - Update import statements to reflect the new location of the model functions
…eries.py`

Update tests in `test_agent_queries.py` to use existing models and queries
* Replace `agent.create_agent` with `create_agent`
* Replace `agent.delete_agent` with `delete_agent`
* Replace `agent.get_agent` with `get_agent`
* Replace `agent.list_agents` with `list_agents`
* Replace `agent.update_agent` with `update_agent`

Update tests in `test_session_queries.py` to use existing models and queries
* Import `Session` from `agents_api.autogen.openapi_model`

Update tests in `test_task_queries.py` to use existing models and queries
* Replace `CreateTaskRequest`, `DeleteTaskRequest`, `GetTaskRequest`, `ListTasksRequest`, `UpdateTaskRequest` with dictionaries

Update tests in `test_tool_queries.py` to use existing models and queries
* Replace `FunctionDef` with dictionaries

Update tests in `test_user_queries.py` to use existing models and queries
* Replace `agents_api.autogen.openapi_model` with `agents_api.autogen.Users`
Signed-off-by: Diwank Tomer <[email protected]>
fix(agents-api): Fixed tests for models and queries
* **`test_agent_queries.py`**
  - Add test for `create_or_update_agent` query
  - Add test for `patch_agent` query

* **`test_docs_queries.py`**
  - Add test for `embed_snippets` query

* **`test_entry_queries.py`**
  - Add test for `delete_entries` query

* **`test_execution_queries.py`**
  - Add test for `create_execution_transition` query

* **`test_session_queries.py`**
  - Add test for `create_or_update_session` query

* **`test_task_queries.py`**
  - Add test for `create_or_update_task` query

* **`test_tool_queries.py`**
  - Add test for `patch_tool` query

* **`test_user_queries.py`**
  - Add test for `create_or_update_user` query
Signed-off-by: Diwank Tomer <[email protected]>
Signed-off-by: Diwank Tomer <[email protected]>
feat(agents-api): Add route tests
Add tests for docs routes in `agents-api/tests/test_docs_routes.py`.

* **Create Docs Tests**
  - Add test for creating user doc.
  - Add test for creating agent doc.
* **Delete Doc Test**
  - Add test for deleting a doc.
* **Get Doc Test**
  - Add test for getting a doc.
* **List Docs Tests**
  - Add test for listing user docs.
  - Add test for listing agent docs.
* **Search Docs Tests**
  - Add test for searching user docs.
  - Add test for searching agent docs.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/julep-ai/julep?shareId=XXXX-XXXX-XXXX-XXXX).
Signed-off-by: Diwank Tomer <[email protected]>
whiterabbit1983 and others added 29 commits September 10, 2024 18:46
Signed-off-by: Diwank Singh Tomer <[email protected]>
Signed-off-by: Diwank Singh Tomer <[email protected]>
Signed-off-by: Diwank Singh Tomer <[email protected]>
Signed-off-by: Diwank Singh Tomer <[email protected]>
…rompt-step-if-tool_calls

feat: Add agent tools to completion data before sending to litellm in prompt
@creatorrr creatorrr merged commit 3df8741 into main Sep 17, 2024
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants