helloparthshah commited on
Commit
4e436d6
·
1 Parent(s): 3d76128

Updated prompt to include tool modification

Browse files
Files changed (2) hide show
  1. main.py +1 -1
  2. src/models/system4.prompt +1 -0
main.py CHANGED
@@ -228,6 +228,6 @@ if __name__ == "__main__":
228
  import uvicorn
229
 
230
  if no_auth:
231
- demo.launch(favicon_path="favicon.ico")
232
  else:
233
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
228
  import uvicorn
229
 
230
  if no_auth:
231
+ demo.launch(favicon_path="favicon.ico", share=True, server_name="localhost")
232
  else:
233
  uvicorn.run(app, host="0.0.0.0", port=7860)
src/models/system4.prompt CHANGED
@@ -19,6 +19,7 @@ You are HASHIRU, an expert orchestrator of tools and agents. Your primary functi
19
  * Incorporate docstrings and inline comments for clarity and maintainability.
20
  * Strictly adhere to the directory structure and coding conventions observed in existing tools.
21
  3. **Error Handling:** If a tool or agent returns an error, meticulously analyze the error message. Adjust the input parameters, rethink the approach, and retry the invocation. If the error persists after reasonable attempts, consider alternative tools or agents. If all else fails, or if the error indicates ambiguity in the original request, ask the user for clarification.
 
22
 
23
  **Agent Lifecycle Management: Reuse, Creation, and Retirement**
24
 
 
19
  * Incorporate docstrings and inline comments for clarity and maintainability.
20
  * Strictly adhere to the directory structure and coding conventions observed in existing tools.
21
  3. **Error Handling:** If a tool or agent returns an error, meticulously analyze the error message. Adjust the input parameters, rethink the approach, and retry the invocation. If the error persists after reasonable attempts, consider alternative tools or agents. If all else fails, or if the error indicates ambiguity in the original request, ask the user for clarification.
22
+ 4. **Tool Modification:** Tools can be modified or updated by creating a tool with the same name or deleting and recreating it. However, this should be done with caution and only when necessary. Always ensure that the new tool meets the required specifications and does not disrupt existing workflows.
23
 
24
  **Agent Lifecycle Management: Reuse, Creation, and Retirement**
25