Skip to content

Commit 9631dce

Browse files
authored
Merge branch 'v2.0' into feat/session-state-updates
2 parents 88bbc6a + 9e720f2 commit 9631dce

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

libs/agno/agno/knowledge/knowledge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def _load_from_url(
438438
upsert: bool,
439439
skip_if_exists: bool,
440440
):
441-
log_info(f"Adding content from URL {content.name}")
441+
log_info(f"Adding content from URL {content.url}")
442442
content.file_type = "url"
443443

444444
if self.vector_db.__class__.__name__ == "LightRag":

libs/agno/agno/models/anthropic/claude.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ def parse_provider_response(self, response: AnthropicMessage, **kwargs) -> Model
515515
function_def["arguments"] = json.dumps(tool_input)
516516

517517
model_response.extra = model_response.extra or {}
518+
518519
model_response.tool_calls.append(
519520
{
520521
"id": block.id,

libs/agno/agno/models/response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ class ModelResponse:
111111
created_at: int = int(time())
112112

113113
extra: Optional[Dict[str, Any]] = None
114+
metadata: Optional[Dict[str, Any]] = None
114115

115116

116117
class FileType(str, Enum):

libs/agno/agno/team/team.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3618,7 +3618,10 @@ async def _aprint_response_stream(
36183618
live_console.update(Group(*panels))
36193619

36203620
# Get response from the team
3621-
stream_resp = await self.arun( # type: ignore
3621+
team_markdown = None
3622+
member_markdown = {}
3623+
3624+
async for resp in self.arun( # type: ignore
36223625
message=message,
36233626
audio=audio,
36243627
images=images,
@@ -3632,11 +3635,7 @@ async def _aprint_response_stream(
36323635
user_id=user_id,
36333636
knowledge_filters=knowledge_filters,
36343637
**kwargs,
3635-
)
3636-
team_markdown = None
3637-
member_markdown = {}
3638-
3639-
async for resp in stream_resp:
3638+
):
36403639
if team_markdown is None:
36413640
if markdown:
36423641
team_markdown = True

0 commit comments

Comments
 (0)