Skip to content

Conversation

@yanxi0830
Copy link
Contributor

@yanxi0830 yanxi0830 commented Nov 21, 2024

What does this PR do?

Feature/Issue validation/testing/test plan

Sync Scripts

python -m examples.agents.client localhost 5000
python -m examples.agents.hello localhost 5000
python -m examples.agents.inflation localhost 5000
python -m examples.agents.rag_with_memory_bank localhost 5000
PORT=5000 pytest -s ./tests/test_agents.py

Sync Tool execution

python -m examples.agents.e2e_loop_with_custom_tools localhost 5000

Sources

Please link relevant resources if necessary.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

Thanks for contributing 🎉!

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 21, 2024
@yanxi0830 yanxi0830 marked this pull request as ready for review November 21, 2024 21:57

available_models = [model.identifier for model in client.models.list()]
supported_models = [x for x in available_models if "3.2" in x]
supported_models = [x for x in available_models if "3.2" in x and "Vision" not in x]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

llama3.1 and llama3.2 multimodal models follow the same tool prompt format, and don't have ToolPromptFormat ToolPromptFormat.python_list

@yanxi0830 yanxi0830 mentioned this pull request Nov 21, 2024
5 tasks
@yanxi0830 yanxi0830 merged commit 7e1ce05 into main Nov 22, 2024
1 check passed
@yanxi0830 yanxi0830 deleted the sync_call_apps branch November 22, 2024 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants