Skip to content

Commit 6d3862c

Browse files
jamesbrazasidnarayanan
authored andcommitted
Pulling in latest aviary for concurrency rename (#728)
1 parent e45ace2 commit 6d3862c

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ repos:
8585
- PyMuPDF>=1.24.12
8686
- anyio
8787
- coredis
88-
- fhaviary[llm]>=0.10.0 # Match pyproject.toml
88+
- fhaviary[llm]>=0.10.1 # Match pyproject.toml
8989
- ldp>=0.12 # Match pyproject.toml
9090
- html2text
9191
- litellm>=1.44 # Match pyproject.toml

paperqa/agents/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ async def step(
181181
list[Message],
182182
await self.exec_tool_calls(
183183
action,
184-
ordered=True, # PQA Environment currently not safe for parallel tool calls
184+
concurrency=False, # PQA tools aren't yet concurrency safe
185185
state=self.state,
186186
handle_tool_exc=True,
187187
),

paperqa/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class LLMResult(BaseModel):
7373

7474
id: UUID = Field(default_factory=uuid4)
7575
session_id: UUID | None = Field(
76-
default_factory=cvar_session_id.get,
76+
default_factory=cvar_session_id.get, # type: ignore[arg-type]
7777
description="A persistent ID to associate a group of LLMResults",
7878
alias="answer_id",
7979
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies = [
4242
"aiohttp", # TODO: remove in favor of httpx
4343
"anyio",
4444
"coredis",
45-
"fhaviary[llm]>=0.10.0", # For invalid tool fixes
45+
"fhaviary[llm]>=0.10.1", # For tool execution concurrency
4646
"html2text", # TODO: evaluate moving to an opt-in dependency
4747
"httpx",
4848
"limits",

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)