Skip to content

[Bug]: TypeError: end_session() missing 1 required positional argument: 'token'Β #835

@aniskasmi

Description

@aniskasmi

Contact Details

No response

πŸ“¦ Package Version

Version: 0.4.2

🎞️ Framework Version

No response

πŸ”Ž Describe the Bug

Traceback (most recent call last): File "/app/.venv/bin/run_crew", line 10, in <module> sys.exit(run()) ^^^^^ File "/app/src/seo_redactor/main.py", line 315, in run agentops.end_session('Success') TypeError: end_session() missing 1 required positional argument: 'token' An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 1.

my file :

def run(): print('AGENT OPS DEPUIS LE RUN: ', os.getenv("AGENTOPS_API_KEY")) agentops.init(os.getenv("AGENTOPS_API_KEY"), skip_auto_end_session=True) """Run the guide creator flow""" CreatePageFlow().kickoff() agentops.end_session('Success')

🀝 Contribution

  • Yes, I'd be happy to submit a pull request with these changes.
  • I need some guidance on how to contribute.
  • I'd prefer the AgentOps team to handle this update.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions