Skip to content

Commit

Permalink
add ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ameen-91 committed Nov 14, 2024
1 parent 7b599b7 commit 4f27828
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
2 changes: 0 additions & 2 deletions langforge_os/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
from langforge_os.tools import tools
from langchain_core.prompts import ChatPromptTemplate
from langgraph.graph import START, END
from pydantic import BaseModel
from langchain_core.messages import ToolMessage, HumanMessage

assistant_prompt = ChatPromptTemplate.from_messages(
[
Expand Down
3 changes: 0 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import uuid
from langforge_os.graph import app
from langchain_core.messages import ToolMessage


if __name__ == "__main__":

thread_id = str(uuid.uuid4())

config = {"configurable": {"thread_id": thread_id}}

while True:

user_input = input("You: ")

for event in app.stream(
Expand Down
29 changes: 28 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tqdm = "^4.66.5"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.5"
pytest = "^8.3.3"
ruff = "^0.7.3"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 4f27828

Please sign in to comment.