From 561b820f80c61fed80e2976a1918c19bc3650f14 Mon Sep 17 00:00:00 2001 From: Justin Dhillon Date: Mon, 27 Nov 2023 10:33:42 -0800 Subject: [PATCH 1/6] Create CONTRIBUTING.md --- CONTRIBUTING.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..5f25961 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,8 @@ +Contributing +============ + +1. Fork it +2. Create your feature branch (`git checkout -b my-new-feature`) +3. Commit your changes (`git commit -am 'Add some feature'`) +4. Push to the branch (`git push origin my-new-feature`) +5. Create new Pull Request From bee87ad07176ecacd5921936b135b4fb09b154c9 Mon Sep 17 00:00:00 2001 From: Justin Dhillon Date: Mon, 27 Nov 2023 10:36:04 -0800 Subject: [PATCH 2/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59dcfd5..42851cb 100644 --- a/README.md +++ b/README.md @@ -97,4 +97,4 @@ You can set the configuration either through natural language or manually for bo ## Issues / Contributions -Running into issues? Please file a GitHub issue or join our [Discord](https://discord.gg/dGcwcsnxhU). +Running into issues? Please file a GitHub issue or join our [Discord](https://discord.gg/dGcwcsnxhU). Want to contribute? Learn how by reading [CONTRIBUTING.md](https://github.com/run-llama/rags/blob/main/CONTRIBUTING.md). From 930cb3c9b411917039a032ba86f154e110c8bd1b Mon Sep 17 00:00:00 2001 From: Justin Dhillon Date: Mon, 27 Nov 2023 10:50:46 -0800 Subject: [PATCH 3/6] Update CONTRIBUTING.md --- CONTRIBUTING.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5f25961..f76af36 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,6 +3,7 @@ Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) -3. Commit your changes (`git commit -am 'Add some feature'`) -4. Push to the branch (`git push origin my-new-feature`) -5. Create new Pull Request +3. Test your changes (`ruff check .`) +4. Commit your changes (`git commit -am 'Add some feature'`) +5. Push to the branch (`git push origin my-new-feature`) +6. Create new Pull Request From 248cb02a24c9d14ea58820acba10605554e01535 Mon Sep 17 00:00:00 2001 From: Justin Dhillon Date: Thu, 30 Nov 2023 11:37:12 -0800 Subject: [PATCH 4/6] ran make format; make lint --- agent_utils.py | 1 - "pages/2_\342\232\231\357\270\217_RAG_Config.py" | 1 - 2 files changed, 2 deletions(-) diff --git a/agent_utils.py b/agent_utils.py index d65f0a8..edbb4c0 100644 --- a/agent_utils.py +++ b/agent_utils.py @@ -660,7 +660,6 @@ def update_agent( def load_meta_agent_and_tools( cache: Optional[ParamCache] = None, ) -> Tuple[BaseAgent, RAGAgentBuilder]: - # think of this as tools for the agent to use agent_builder = RAGAgentBuilder(cache) diff --git "a/pages/2_\342\232\231\357\270\217_RAG_Config.py" "b/pages/2_\342\232\231\357\270\217_RAG_Config.py" index e2e8d70..2972f6f 100644 --- "a/pages/2_\342\232\231\357\270\217_RAG_Config.py" +++ "b/pages/2_\342\232\231\357\270\217_RAG_Config.py" @@ -85,7 +85,6 @@ def delete_agent() -> None: st.session_state.config_agent_builder = agent_builder if agent_builder is not None: - st.info(f"Viewing config for agent: {agent_builder.cache.agent_id}", icon="ℹ️") agent_id_st = st.text_input( From c464a0c6ba7f6311e9341ddf852cd73cc300d436 Mon Sep 17 00:00:00 2001 From: Justin Dhillon Date: Thu, 30 Nov 2023 11:39:42 -0800 Subject: [PATCH 5/6] added format your code to contributing.md --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f76af36..1a30a3f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,6 +4,7 @@ Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Test your changes (`ruff check .`) +4. Format your code (`make format; make lint`) 4. Commit your changes (`git commit -am 'Add some feature'`) 5. Push to the branch (`git push origin my-new-feature`) 6. Create new Pull Request From bc9bfe0aed2200eac4bb323d98b860f7fde5e74a Mon Sep 17 00:00:00 2001 From: Justin Dhillon Date: Thu, 30 Nov 2023 11:40:09 -0800 Subject: [PATCH 6/6] fixed numbering --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1a30a3f..92cae10 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,6 +5,6 @@ Contributing 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Test your changes (`ruff check .`) 4. Format your code (`make format; make lint`) -4. Commit your changes (`git commit -am 'Add some feature'`) -5. Push to the branch (`git push origin my-new-feature`) -6. Create new Pull Request +5. Commit your changes (`git commit -am 'Add some feature'`) +6. Push to the branch (`git push origin my-new-feature`) +7. Create new Pull Request