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

Tools #298

Closed
wants to merge 1,776 commits into from
Closed

Tools #298

wants to merge 1,776 commits into from

Conversation

ZackBradshaw
Copy link
Contributor

@ZackBradshaw ZackBradshaw commented Dec 13, 2023

Thank you for contributing to Swarms!

Replace this comment with:

  • Description: a description of the change,
  • Issue: the issue # it fixes (if applicable),
  • Dependencies: any dependencies required for this change,
  • Tag maintainer: for a quicker response, tag the relevant maintainer (see below),
  • Twitter handle: we announce bigger features on Twitter. If your PR gets announced and you'd like a mention, we'll gladly shout you out!

Please make sure your PR is passing linting and testing before submitting. Run make format, make lint and make test to check this locally.

See contribution guidelines for more information on how to write/run tests, lint, etc:
https://github.com/kyegomez/swarms/blob/master/CONTRIBUTING.md

If you're adding a new integration, please include:

  1. a test for the integration, preferably unit tests that do not rely on network access,
  2. an example notebook showing its use.

Maintainer responsibilities:

If no one reviews your PR within a few days, feel free to email Kye at [email protected]

See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/kyegomez/swarms


📚 Documentation preview 📚: https://swarms--298.org.readthedocs.build/en/298/

Kye and others added 30 commits October 31, 2023 17:13
Former-commit-id: b43b7279806ba3a8c03cb714c1e48d9d6abc7ecb
Former-commit-id: aff7fb8360b672f7bb970615f26abfbdc3d1e782
Former-commit-id: 68b566eb5ecb83d07e278252aa95939bc13925e5
Former-commit-id: 0ad9278230284dc17e7a58a28e2df2eef13de6a0
Former-commit-id: a1755c50abd829850473f176b9b349455ba44624
Former-commit-id: c41a1f6fdb176b2455825baa49cdb3953383aaad
Former-commit-id: 091f1e748591f0779ddbf9e40b21c8593b7dea32
Former-commit-id: ae46c1b477a79852ffdb6e7ea715b6900dc94304
Former-commit-id: 948491137f9ea26020dbd76d1a52945d76a6b1c2
Create cost_analysis.md

Former-commit-id: 775b1419a0de589e535fcdfb2e0bbee8bbaba9cc
Former-commit-id: 6702eb60808aec15fc4c5bbe7535745f0d857930
Former-commit-id: d6ad9bea8f138af34f6984aeb4f6b2e417b04f9d
Former-commit-id: 59c007b69e3e4985b777567a09a6d044add811dd
Former-commit-id: 6ba2de22ea0ff05358da555b300482735ba0a9dd
Former-commit-id: 6247e13b82e25cfee5d46217d1a8f54945d613e5
Former-commit-id: ce0ceb5634de107705db1c155ae785d16559e571
Former-commit-id: 31880a63055a0d3baef981c53216b3572e9b89d0
Former-commit-id: 29a629c997f78c0be9c3d413f6f86a501b67fc98
Former-commit-id: 44376eaec76677f094c1bdd6f08d5cbadf278780
Former-commit-id: 77cc577811e32891fed8883483b2caf2c7575ffb
…s/first-interaction-1.2.0

Bump actions/first-interaction from 1.1.1 to 1.2.0

Former-commit-id: f6cc7c7fa002564b23e0a386fb63c4d71afcaa29
…s/setup-python-4

Bump actions/setup-python from 2 to 4

Former-commit-id: ade1cb4bf17a88c6a4cf4ed5b0618b878562482d
…h-action-pypi-publish-1.8.10

Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10

Former-commit-id: ddd1844185a31945c817f9a92d1bb4261816875c
…s/checkout-4

Bump actions/checkout from 2 to 4

Former-commit-id: 3ad19213dd7488c9750777938a8f69d85463bb75
Former-commit-id: 51c64c94bc1ff1a3c6a1e32f8b13817811d20792
Former-commit-id: 6e020bcf92b1cdc222f402354970484e904a76f5
Former-commit-id: 99073c94f4f3dd1ea4cdd74a58ebc8f20017c588
Former-commit-id: cc6cc42c1503ff57ac8ccdbbcd7a9473770252cc
added labeler.yml

Former-commit-id: 68e2b775ac64a7d290f2c49984aba5e6b1df8cae
Former-commit-id: 12e4e61f2359f2f3d3f155d37351a3585f26e156
@ZackBradshaw
Copy link
Contributor Author

ZackBradshaw commented Dec 13, 2023

This is a little messsy because I had diverging histories this has the code for getting the tools working with the current agent system still very much a (WIP)
related issisues #297

try:
res = executor({"input": promptedQuery})
except Exception as e:
return {"answer": str(e), "files": []}

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
}
else:
HEADER = None
response = requests.post(api_endpoint, json=data, headers=HEADER, proxies=PROXY)

Check failure

Code scanning / CodeQL

Full server-side request forgery Critical

The full URL of this request depends on a
user-provided value
.
The full URL of this request depends on a
user-provided value
.
The full URL of this request depends on a
user-provided value
.
The full URL of this request depends on a
user-provided value
.
@ZackBradshaw ZackBradshaw changed the title Tool tests Tools Dec 13, 2023
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.

5 participants