-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Labels
Description
When installing agent-framework with --pre into a clean virtual environment, pip does not pull the latest pre-release of agent-framework-core (1.0.0b251120). Specifically, the installed agent-framework does not contain:
- agent-framework-core: Langfuse observability captures ChatAgent system instructions #2316
- agent-framework-core: Introducing support for declarative YAML spec #2002
This suggests that the agent-framework meta-package on PyPI is not depending on the latest agent-framework-core pre-release.
Steps to reproduce
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade --no-cache-dir agent-framework --pre
pip show agent-framework-coreActual Results
pip show agent-framework-core:
Name: agent-framework-core
Version: 1.0.0b251114
Summary: Microsoft Agent Framework for building AI Agents with Python. This is the core package that has all the core abstractions and implementations.
Home-page: https://aka.ms/agent-framework
Author:
Author-email: Microsoft <af-support@microsoft.com>
License:
Location: /private/tmp/test_agent_framework/.venv/lib/python3.12/site-packages
Requires: azure-identity, mcp, openai, opentelemetry-api, opentelemetry-exporter-otlp-proto-grpc, opentelemetry-sdk, opentelemetry-semantic-conventions-ai, packaging, pydantic, pydantic-settings, typing-extensions
Required-by: agent-framework, agent-framework-a2a, agent-framework-ag-ui, agent-framework-anthropic, agent-framework-azure-ai, agent-framework-copilotstudio, agent-framework-devui, agent-framework-mem0, agent-framework-purview, agent-framework-redisAdditionally, verifying the observability code:
grep -n "system_instructions" .venv/lib/python3.12/site-packages/agent_framework/observability.py
Output:
179: SYSTEM_INSTRUCTIONS = "gen_ai.system_instructions"
1123: system_instructions=getattr(self, "instructions", None),
1192: system_instructions=getattr(self, "instructions", None),
1417: system_instructions: str | list[str] | None = None,
1443: if system_instructions:
1444: if not isinstance(system_instructions, list):
1445: system_instructions = [system_instructions]
1446: otel_sys_instructions = [{"type": "text", "content": instruction} for instruction in system_instructions]
Lines 1123 and 1192 do not include the updated Langfuse observability behavior from #2316 (capturing ChatAgent system instructions as part of the span).
Similarly, features introduced by #2002 (declarative YAML spec support) are not present in this installed version of agent-framework-core.
Environment
- OS: macOS
- Python: 3.12 (virtualenv)
- Installation: clean virtual environment, no cached wheels (--no-cache-dir)
- Command: pip install --upgrade --no-cache-dir agent-framework --pre
SuperKenVery
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done