diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..92cae10 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,10 @@ +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`) +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 diff --git a/README.md b/README.md index 49be9eb..20eaa9a 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ You can set the configuration either through natural language or manually for bo ## Resources -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). This app was built with [LlamaIndex Python](https://github.com/run-llama/llama_index). 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(