Skip to content

[Bug]: @agent decorator doesn't work + not helpfulΒ #968

@areibman

Description

@areibman

Contact Details

No response

πŸ“¦ Package Version

0.4.10

🎞️ Framework Version

openai-1.78.0

πŸ”Ž Describe the Bug

In the following script, we apply a @agent decorator to the GPTPlayer class. Agent spans don't show in the trace.

https://github.com/areibman/poke-env/blob/master/examples/gpt_player.py

Image

Additionally, we do not have the ability to add supplemental information to agents. Suppose I wanted to name this agent-- I can't! Something like @agent(name="My agent") would be fantastic.

This naming should apply to other decorators as well such as task, workflow, etc.

🀝 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

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions