divakar-cli-agent 0.1.3__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: divakar-cli-agent
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: A custom CLI terminal agent
5
5
  Requires-Python: >=3.8
6
6
  Requires-Dist: annotated-doc==0.0.5
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "divakar-cli-agent"
7
- version = "0.1.3"
7
+ version = "0.1.4"
8
8
  description = "A custom CLI terminal agent"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -12,7 +12,7 @@ from langchain.agents import create_agent
12
12
 
13
13
 
14
14
  @app.command()
15
- def hellob(commad:str):
15
+ def hellob():
16
16
  load_dotenv(os.path.join(os.getcwd(),".env"))
17
17
 
18
18
  OPENAI_API_KEY=os.environ.get("OPENAI_API_KEY")
@@ -31,7 +31,7 @@ def hellob(commad:str):
31
31
 
32
32
  while True:
33
33
  input = typer.prompt(">>>")
34
- if input !="exit":
34
+ if input !="/exit":
35
35
  result = agent.invoke({"messages":[{"role":"user","content":input}]})
36
36
  rprint(result["messages"][-1].content_blocks)
37
37
  else: