Skip to content

LLMstudio Core Version 1.1.0 - Agents Wrapper #209

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

Open
wants to merge 57 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
057e4fb
chore: Provider Unit Tests (#173)
MiNeves00 Dec 18, 2024
2cd3f94
[fix] bump prerelease version in pyproject.toml
actions-user Dec 18, 2024
cdeb84f
chore: rename action
diogoncalves Dec 18, 2024
f9feb73
feat: added action to run tests on PR
diogoncalves Dec 18, 2024
95c1723
chore: comments
diogoncalves Dec 18, 2024
8ea43c6
fix: fix azure config tests
diogoncalves Dec 18, 2024
9f42faa
chore: style format
diogoncalves Dec 18, 2024
91f232e
fix: tests workflow
diogoncalves Dec 18, 2024
ee7c373
Feature/prompt management (#200)
brunoalho99 Jan 23, 2025
549e388
[fix] bump prerelease version in pyproject.toml
actions-user Jan 23, 2025
c6cdad0
[bugfix] return empty prompt
brunoalho99 Jan 29, 2025
8d83a45
[bugfix] return empty prompt (#201)
brunoalho99 Jan 29, 2025
2a5b4fb
[fix] bump prerelease version in pyproject.toml
actions-user Jan 29, 2025
d330303
Update CONTRIBUTING.md
diogoncalves Jan 29, 2025
9a1bf1d
feat: agents core structure
claramoreirag Jan 29, 2025
e02f993
Merge branch 'develop' into feat/agents-integration
claramoreirag Jan 29, 2025
4e21198
style: lint
claramoreirag Jan 29, 2025
063218c
fix: agent registry initialization
claramoreirag Jan 30, 2025
fa53ef6
[feat] openai agent
brunoalho99 Jan 31, 2025
38c6880
fix: init registry
claramoreirag Jan 31, 2025
5a0619c
Merge branch 'feat/agents-integration' into feat/agents-integration-o…
brunoalho99 Jan 31, 2025
fa86525
feat: create agent
claramoreirag Feb 3, 2025
bdba249
Merge branch 'feat/agents-integration' into feat/bedrock-agents
claramoreirag Feb 3, 2025
656ffca
feat: invoke agent
claramoreirag Feb 4, 2025
ca7bcdf
[feat] code interpreter added
brunoalho99 Feb 4, 2025
1deb4df
feat: retrive result
claramoreirag Feb 5, 2025
c183ed4
feat: send files to code interpreter
claramoreirag Feb 6, 2025
aad3465
Feat/bedrock agents (#203)
claramoreirag Feb 7, 2025
871f7f3
[feat] mapping messages
brunoalho99 Feb 7, 2025
9e65052
Merge branch 'feat/agents-integration' into feat/agents-integration-o…
brunoalho99 Feb 7, 2025
ddd5328
Feat/agents integration openai (#205)
brunoalho99 Feb 7, 2025
d2259f4
[feat] data models improve
brunoalho99 Feb 7, 2025
45e6822
feat: annotations model
claramoreirag Feb 7, 2025
de8c62b
[feat] openai complete mapping
brunoalho99 Feb 7, 2025
7af6c3e
chore: change from kwargs to params
claramoreirag Feb 9, 2025
86b7146
feat: run_agent receives agent object
claramoreirag Feb 10, 2025
efb9d84
feat: bedrock agent running
claramoreirag Feb 11, 2025
291bab4
docs: add bedrock agent example
claramoreirag Feb 11, 2025
a1c373d
Feat/bedrock agents (#208)
claramoreirag Feb 11, 2025
bd14232
[feat] openai requires action
brunoalho99 Feb 24, 2025
a357068
[feat] submit tools outputs
brunoalho99 Feb 24, 2025
6216fbb
initial support for bedrock agents tool calls
gabrielrfg Feb 25, 2025
384f0b5
finshed initial bedrock agents integration
gabrielrfg Feb 26, 2025
c326e43
Finished merger of openai and bedrock agents signatures
gabrielrfg Feb 27, 2025
895f7e2
Changed to async paradigm for bedrock agents
gabrielrfg Mar 3, 2025
350e569
Added usage tracking
gabrielrfg Mar 3, 2025
bf4fa0f
Fixed openai issues, added usage tracking
gabrielrfg Mar 3, 2025
19a51fd
Created irius sample scripts and made fixes accordingly
gabrielrfg Mar 3, 2025
6c4c30a
Finalized unification of bedrock - openai interfaces
gabrielrfg Mar 3, 2025
dcb4ae1
formatting
gabrielrfg Mar 4, 2025
227a74c
formatting
gabrielrfg Mar 4, 2025
949aa3b
alias_id usage removed
gabrielrfg Mar 4, 2025
678e7b6
Documentation update
gabrielrfg Mar 7, 2025
38dcb03
Update agents_guide.md
diogoncalves Mar 10, 2025
8f93d49
Update agents_guide.md
diogoncalves Mar 10, 2025
bc53ac9
chore: revert method rename
diogoncalves Mar 11, 2025
1889bb5
[feat] add envs to examples
brunoalho99 Mar 11, 2025
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
41 changes: 41 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Tests

on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened

jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

# Set up Python environment
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"

# Install Poetry
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
# Install lib and dev dependencies
- name: Install llmstudio-core
working-directory: ./libs/core
run: |
poetry install
POETRY_ENV=$(poetry env info --path)
echo $POETRY_ENV
echo "POETRY_ENV=$POETRY_ENV" >> $GITHUB_ENV

- name: Run unit tests
run: |
echo ${{ env.POETRY_ENV }}
source ${{ env.POETRY_ENV }}/bin/activate
poetry run pytest libs/core
2 changes: 1 addition & 1 deletion .github/workflows/upload-pypi-dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PyPI prerelease and build/push Docker image.
name: PyPI prerelease any module.

on:
workflow_dispatch:
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ env3
.env*
.env*.local
.venv*
*venv*
env*/
venv*/
ENV/
Expand All @@ -66,6 +67,7 @@ venv.bak/
config.yaml
bun.lockb


# Jupyter Notebook
.ipynb_checkpoints

Expand All @@ -76,4 +78,4 @@ bun.lockb
llmstudio/llm_engine/logs/execution_logs.jsonl
*.db
.prettierignore
db
db
21 changes: 21 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,30 @@ Thank you for expressing your interest in contributing to LLMstudio. To ensure t
3. Follow our repo guidelines
- Ensure that you update any relevant docstrings and comments within your code
- Run `pre-commit run --all-files` to lint your code
4. Sign your commits. Without signed commits, your changes will not be accepted for main.

## Branches

- All development happens in per-feature branches prefixed by contributor's
initials. For example `feat/feature_name`.
- Approved PRs are merged to the `main` branch.

## Alpha releases:
You need to have your changes in the `develop` branch in order to push a new alpha version of any library `(llmstudio, llmstudio-proxy, llmstudio-tracker)`. Therefore, first guarantee that you feature branch is reviewed and working before merging to develop.

Process:
- Ensure the `feature/**` you worked is passing the tests and has the approvals necessary.
- Merge to `develop`
- Ensure the changes are in the develop branch
- Use GitHub Actions to initiate the pre-release process: [PyPI pre-release any module](https://github.com/TensorOpsAI/LLMstudio/actions/workflows/upload-pypi-dev.yml)
- Select the target library `(llmstudio, llmstudio-proxy, llmstudio-tracker)` and the target version for the final release (e.g., 1.1.0). Consult main branch and PyPI for current versions.
- Run the workflow.
- The workflow will automatically bump the version and create an alpha release of the library/module specified
- The workflow will automatically push changes back (bump version) to the develop branch

Repeat the process in case your `development` branch contains changes in multiple libraries.

## Final releases:
Once you're happy with the versions, create the Release notes on the PR between `develop` and `main` and merge to main branch when ready for full release. The workflow will automatically remove any `alpha` tag in your libraries and push the versions for every library/module that suffered changes.


3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
format:
pre-commit run --all-files

unit-tests:
pytest libs/core/tests/unit_tests
Loading