Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/asking-help.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Asking for help
about: If you need help using Mesa-LLM, you should post in https://github.com/wang-boyu/mesa-llm/discussions
about: If you need help using Mesa-LLM, you should post in https://github.com/projectmesa/mesa-llm/discussions
---

<!--
ATTENTION: Don't raise an issue here!
If you need help, ask in https://github.com/wang-boyu/mesa-llm/discussions
If you need help, ask in https://github.com/projectmesa/mesa-llm/discussions
-->
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Build distributions
run: python -m build
- name: Upload package as artifact to GitHub
if: github.repository == 'wang-boyu/mesa-llm' && startsWith(github.ref, 'refs/tags')
if: github.repository == 'projectmesa/mesa-llm' && startsWith(github.ref, 'refs/tags')
uses: actions/upload-artifact@v4
with:
name: package
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ In no particular order, examples include:
- Documentation improvements
- Tutorials

[Mesa-LLM discussions]: https://github.com/wang-boyu/mesa-llm/discussions
[issue]: https://github.com/wang-boyu/mesa-llm/issues
[Mesa-LLM discussions]: https://github.com/projectmesa/mesa-llm/discussions
[issue]: https://github.com/projectmesa/mesa-llm/issues

**To submit a contribution**

Expand All @@ -33,15 +33,15 @@ In no particular order, examples include:
- Describe the change w/ ticket number(s) that the code fixes.

[Clone your repository]: https://help.github.com/articles/cloning-a-repository/
[GH Actions build]: https://github.com/wang-boyu/mesa-llm/actions/workflows/ci.yml
[GH Actions build]: https://github.com/projectmesa/mesa-llm/actions/workflows/ci.yml
[Create a pull request]: https://help.github.com/articles/creating-a-pull-request/
[pre-commit]: https://github.com/pre-commit/pre-commit
[black]: https://github.com/psf/black

Testing and Code Standards
--------------------------

[![](https://codecov.io/gh/wang-boyu/mesa-llm/branch/main/graph/badge.svg)](https://codecov.io/gh/wang-boyu/mesa-llm) [![](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![](https://codecov.io/gh/projectmesa/mesa-llm/branch/main/graph/badge.svg)](https://codecov.io/gh/projectmesa/mesa-llm) [![](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

As part of our contribution process, we practice continuous integration and use GH Actions to help enforce best practices.

Expand Down Expand Up @@ -81,7 +81,7 @@ Licensing

The license of this project is located in [LICENSE]. By submitting a contribution to this project, you are agreeing that your contribution will be released under the terms of this license.

[LICENSE]: https://github.com/wang-boyu/mesa-llm/blob/main/LICENSE
[LICENSE]: https://github.com/projectmesa/mesa-llm/blob/main/LICENSE

Special Thanks
--------------
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

| | |
| --- | --- |
| CI/CD | [![GitHub CI](https://github.com/wang-boyu/mesa-llm/workflows/build/badge.svg)](https://github.com/wang-boyu/mesa-llm/actions) [![Read the Docs](https://readthedocs.org/projects/mesa-llm/badge/?version=stable)](https://mesa-llm.readthedocs.io/stable) [![Codecov](https://codecov.io/gh/wang-boyu/mesa-llm/branch/main/graph/badge.svg)](https://codecov.io/gh/wang-boyu/mesa-llm) |
| CI/CD | [![GitHub CI](https://github.com/projectmesa/mesa-llm/workflows/build/badge.svg)](https://github.com/projectmesa/mesa-llm/actions) [![Read the Docs](https://readthedocs.org/projects/mesa-llm/badge/?version=stable)](https://mesa-llm.readthedocs.io/stable) [![Codecov](https://codecov.io/gh/projectmesa/mesa-llm/branch/main/graph/badge.svg)](https://codecov.io/gh/projectmesa/mesa-llm) |
| Package | [![PyPI](https://img.shields.io/pypi/v/mesa-llm.svg)](https://pypi.org/project/mesa-llm) [![PyPI - License](https://img.shields.io/pypi/l/mesa-llm)](https://pypi.org/project/mesa-llm/) [![PyPI - Downloads](https://img.shields.io/pypi/dw/mesa-llm)](https://pypistats.org/packages/mesa-llm) |
| Meta | [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) |
| Chat | [![chat](https://img.shields.io/matrix/mesa-llm:matrix.org?label=chat&logo=Matrix)](https://matrix.to/#/#mesa-llm:matrix.org) |
Expand All @@ -26,7 +26,7 @@ pip install -U --pre mesa-llm

You can also use `pip` to install the GitHub version:
```bash
pip install -U -e git+https://github.com/wang-boyu/mesa-llm.git#egg=mesa-llm
pip install -U -e git+https://github.com/projectmesa/mesa-llm.git#egg=mesa-llm
```

Or any other (development) branch on this repo or your own fork:
Expand All @@ -38,7 +38,7 @@ For more help on using Mesa-LLM, check out the following resources:

- [Introductory Tutorial](http://mesa-llm.readthedocs.io/stable/tutorials/intro_tutorial.html)
- [Docs](http://mesa-llm.readthedocs.io/stable/)
- [Mesa-LLM Discussions](https://github.com/wang-boyu/mesa-llm/discussions)
- [Mesa-LLM Discussions](https://github.com/projectmesa/mesa-llm/discussions)
- [PyPI](https://pypi.org/project/mesa-llm/)

## Using Mesa-LLM
Expand All @@ -60,12 +60,12 @@ Want to join the team or just curious about what is happening with Mesa & Mesa-L

* Join our [Matrix chat room](https://matrix.to/#/#mesa-llm:matrix.org) in which questions, issues, and ideas can be (informally) discussed.
* Come to a monthly dev session (you can find dev session times, agendas and notes at [Mesa discussions](https://github.com/projectmesa/mesa/discussions).
* Just check out the code at [GitHub](https://github.com/wang-boyu/mesa-llm/).
* Just check out the code at [GitHub](https://github.com/projectmesa/mesa-llm/).

If you run into an issue, please file a [ticket](https://github.com/wang-boyu/mesa-llm/issues) for us to discuss. If possible, follow up with a pull request.
If you run into an issue, please file a [ticket](https://github.com/projectmesa/mesa-llm/issues) for us to discuss. If possible, follow up with a pull request.

If you would like to add a feature, please reach out via [ticket](https://github.com/wang-boyu/mesa-llm/issues) or join a dev session (see [Mesa discussions](https://github.com/projectmesa/mesa/discussions)).
If you would like to add a feature, please reach out via [ticket](https://github.com/projectmesa/mesa-llm/issues) or join a dev session (see [Mesa discussions](https://github.com/projectmesa/mesa/discussions)).

A feature is most likely to be added if you build it!

Don't forget to check out the [Contributors guide](https://github.com/wang-boyu/mesa-llm/blob/main/CONTRIBUTING.md).
Don't forget to check out the [Contributors guide](https://github.com/projectmesa/mesa-llm/blob/main/CONTRIBUTING.md).
14 changes: 7 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

| | |
| --- | --- |
| CI/CD | [![GitHub CI](https://github.com/wang-boyu/mesa-llm/workflows/build/badge.svg)](https://github.com/wang-boyu/mesa-llm/actions) [![Read the Docs](https://readthedocs.org/projects/mesa-llm/badge/?version=stable)](https://mesa-llm.readthedocs.io/stable) [![Codecov](https://codecov.io/gh/wang-boyu/mesa-llm/branch/main/graph/badge.svg)](https://codecov.io/gh/wang-boyu/mesa-llm) |
| CI/CD | [![GitHub CI](https://github.com/projectmesa/mesa-llm/workflows/build/badge.svg)](https://github.com/projectmesa/mesa-llm/actions) [![Read the Docs](https://readthedocs.org/projects/mesa-llm/badge/?version=stable)](https://mesa-llm.readthedocs.io/stable) [![Codecov](https://codecov.io/gh/projectmesa/mesa-llm/branch/main/graph/badge.svg)](https://codecov.io/gh/projectmesa/mesa-llm) |
| Package | [![PyPI](https://img.shields.io/pypi/v/mesa-llm.svg)](https://pypi.org/project/mesa-llm) [![PyPI - License](https://img.shields.io/pypi/l/mesa-llm)](https://pypi.org/project/mesa-llm/) [![PyPI - Downloads](https://img.shields.io/pypi/dw/mesa-llm)](https://pypistats.org/packages/mesa-llm) |
| Meta | [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) |
| Chat | [![chat](https://img.shields.io/matrix/mesa-llm:matrix.org?label=chat&logo=Matrix)](https://matrix.to/#/#mesa-llm:matrix.org) |
Expand All @@ -26,7 +26,7 @@ pip install -U --pre mesa-llm

You can also use `pip` to install the GitHub version:
```bash
pip install -U -e git+https://github.com/wang-boyu/mesa-llm.git#egg=mesa-llm
pip install -U -e git+https://github.com/projectmesa/mesa-llm.git#egg=mesa-llm
```

Or any other (development) branch on this repo or your own fork:
Expand All @@ -38,7 +38,7 @@ For more help on using Mesa-LLM, check out the following resources:

- [Introductory Tutorial](http://mesa-llm.readthedocs.io/stable/tutorials/intro_tutorial.html)
- [Docs](http://mesa-llm.readthedocs.io/stable/)
- [Mesa-LLM Discussions](https://github.com/wang-boyu/mesa-llm/discussions)
- [Mesa-LLM Discussions](https://github.com/projectmesa/mesa-llm/discussions)
- [PyPI](https://pypi.org/project/mesa-llm/)

## Contributing to Mesa-LLM
Expand All @@ -47,15 +47,15 @@ Want to join the team or just curious about what is happening with Mesa & Mesa-L

* Join our [Matrix chat room](https://matrix.to/#/#mesa-llm:matrix.org) in which questions, issues, and ideas can be (informally) discussed.
* Come to a monthly dev session (you can find dev session times, agendas and notes at [Mesa discussions](https://github.com/projectmesa/mesa/discussions).
* Just check out the code at [GitHub](https://github.com/wang-boyu/mesa-llm/).
* Just check out the code at [GitHub](https://github.com/projectmesa/mesa-llm/).

If you run into an issue, please file a [ticket](https://github.com/wang-boyu/mesa-llm/issues) for us to discuss. If possible, follow up with a pull request.
If you run into an issue, please file a [ticket](https://github.com/projectmesa/mesa-llm/issues) for us to discuss. If possible, follow up with a pull request.

If you would like to add a feature, please reach out via [ticket](https://github.com/wang-boyu/mesa-llm/issues) or join a dev session (see [Mesa discussions](https://github.com/projectmesa/mesa/discussions)).
If you would like to add a feature, please reach out via [ticket](https://github.com/projectmesa/mesa-llm/issues) or join a dev session (see [Mesa discussions](https://github.com/projectmesa/mesa/discussions)).

A feature is most likely to be added if you build it!

Don't forget to check out the [Contributors guide](https://github.com/wang-boyu/mesa-llm/blob/main/CONTRIBUTING.md).
Don't forget to check out the [Contributors guide](https://github.com/projectmesa/mesa-llm/blob/main/CONTRIBUTING.md).



Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ docs = [
]

[project.urls]
homepage = "https://github.com/wang-boyu/mesa-llm"
repository = "https://github.com/wang-boyu/mesa-llm"
homepage = "https://github.com/projectmesa/mesa-llm"
repository = "https://github.com/projectmesa/mesa-llm"

[tool.hatch.build.targets.wheel]
packages = ["mesa_llm"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reasoning/test_cot.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_plan_no_prompt_error(self):
obs = Observation(step=1, self_state={}, local_state={})

with pytest.raises(
ValueError, match="No prompt provided and agent.step_prompt is None"
ValueError, match=r"No prompt provided and agent.step_prompt is None"
):
reasoning.plan(obs=obs)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_reasoning/test_react.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_plan_no_prompt_error(self):
obs = Observation(step=1, self_state={}, local_state={})

with pytest.raises(
ValueError, match="No prompt provided and agent.step_prompt is None"
ValueError, match=r"No prompt provided and agent.step_prompt is None"
):
reasoning.plan(obs=obs)

Expand Down Expand Up @@ -200,6 +200,6 @@ def test_aplan_no_prompt_error(self):
obs = Observation(step=1, self_state={}, local_state={})

with pytest.raises(
ValueError, match="No prompt provided and agent.step_prompt is None"
ValueError, match=r"No prompt provided and agent.step_prompt is None"
):
asyncio.run(reasoning.aplan(obs=obs))
2 changes: 1 addition & 1 deletion tests/test_reasoning/test_rewoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def test_plan_no_prompt_error(self):
reasoning = ReWOOReasoning(mock_agent)

with pytest.raises(
ValueError, match="No prompt provided and agent.step_prompt is None"
ValueError, match=r"No prompt provided and agent.step_prompt is None"
):
reasoning.plan()

Expand Down
2 changes: 1 addition & 1 deletion tests/test_tools/test_inbuilt_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_speak_to_records_on_recipients(mocker):
r2.memory.add_to_memory.assert_called_once()

# Verify payload structure for one recipient
args, kwargs = r1.memory.add_to_memory.call_args
_, kwargs = r1.memory.add_to_memory.call_args
assert kwargs["type"] == "message"
content = kwargs["content"]
assert content["message"] == message
Expand Down
Loading