ADK-agents/agents/my_agent/agent_restart.err.log

22 lines
1.7 KiB
Plaintext

C:\Users\nzy\AppData\Local\Programs\Python\Python314\Lib\site-packages\google\adk\features\_feature_decorator.py:72: UserWarning: [EXPERIMENTAL] feature FeatureName.PLUGGABLE_AUTH is enabled.
check_feature_enabled()
D:\nzy\workspace_python\agent\agents\my_agent\app.py:11: UserWarning: [EXPERIMENTAL] EventsCompactionConfig: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time.
compaction_config = EventsCompactionConfig(
D:\nzy\workspace_python\agent\agents\my_agent\api_server.py:86: UserWarning: [EXPERIMENTAL] InMemoryCredentialService: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time.
credential_service = InMemoryCredentialService()
C:\Users\nzy\AppData\Local\Programs\Python\Python314\Lib\site-packages\google\adk\auth\credential_service\in_memory_credential_service.py:33: UserWarning: [EXPERIMENTAL] BaseCredentialService: This feature is experimental and may change or be removed in future versions without notice. It may introduce breaking changes at any time.
super().__init__()
Traceback (most recent call last):
File "D:\nzy\workspace_python\agent\agents\my_agent\api_server.py", line 134, in <module>
main()
~~~~^^
File "D:\nzy\workspace_python\agent\agents\my_agent\api_server.py", line 105, in main
api_server = create_api_server()
File "D:\nzy\workspace_python\agent\agents\my_agent\api_server.py", line 92, in create_api_server
return ApiServer(
agent_loader=DevAgentLoader(),
...<6 lines>...
auto_create_session=True,
)
TypeError: ApiServer.__init__() missing 1 required keyword-only argument: 'memory_service'