feat: Enable base constructs to automatically populate "created_by" and "last_updated_by" fields for relevant objects (#1944)

This commit is contained in:
Matthew Zhou
2024-10-28 11:04:17 -07:00
committed by GitHub
parent f802969664
commit adfb9a4b87
16 changed files with 220 additions and 265 deletions

View File

@@ -79,7 +79,7 @@ def agent_id(server, user_id):
llm_config=LLMConfig.default_config("gpt-4"),
embedding_config=EmbeddingConfig.default_config(provider="openai"),
),
user_id=user_id,
actor=server.get_user_or_default(user_id),
)
print(f"Created agent\n{agent_state}")
yield agent_state.id