Skip to content

Commit a75b51e

Browse files
devin-ai-integration[bot]Constantin-Doru Teodorescu
andcommitted
fix: pass tags to start_session when auto-starting sessions
Co-Authored-By: Constantin-Doru Teodorescu <teo@agentops.ai>
1 parent 2398cc4 commit a75b51e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

agentops/client/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def init(self, **kwargs):
6363

6464
self._in_start_session = True
6565
try:
66-
start_session()
66+
# Pass the tags from the config to ensure they're included in the session
67+
start_session(tags=list(self.config.default_tags) if self.config.default_tags else None)
6768
finally:
6869
self._in_start_session = False
6970

0 commit comments

Comments
 (0)