Skip to content

Commit

Permalink
Pin below langchain core 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jlowin committed Sep 18, 2024
1 parent a234180 commit 341e2e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
dependencies = [
"prefect>=3.0",
"jinja2>=3.1.4",
"langchain_core>=0.2.9",
"langchain_core>=0.2,<0.3",
"langchain_openai>=0.1.8",
"langchain-anthropic>=0.1.19",
"markdownify>=0.12.1",
Expand Down Expand Up @@ -82,7 +82,7 @@ managed = true
# ruff configuration
[tool.ruff]
target-version = "py311"
lint.extend-select = ["I"]
lint.select = ["I"] # Changed from lint.extend-select to select
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # default, but here in case we want to change it

[tool.ruff.format]
Expand Down
1 change: 0 additions & 1 deletion src/controlflow/agents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ def _run_model(
response: AIMessage = model.invoke(messages)

yield AgentMessage(agent=self, message=response)

create_markdown_artifact(
markdown=f"""
{response.content or '(No content)'}
Expand Down

0 comments on commit 341e2e3

Please sign in to comment.