Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENG-1272: Added Agent Response, and edited unit tests #347

Open
wants to merge 7 commits into
base: development
Choose a base branch
from

Conversation

xainaz
Copy link
Collaborator

@xainaz xainaz commented Dec 23, 2024

No description provided.

@thiago-aixplain thiago-aixplain changed the title Added Agent Response, and edited unit tests ENG-1272: Added Agent Response, and edited unit tests Dec 23, 2024
aixplain/modules/agent/__init__.py Outdated Show resolved Hide resolved
aixplain/modules/agent/__init__.py Outdated Show resolved Hide resolved
from aixplain.enums import ResponseStatus
from typing import Any, Dict, Optional, Text, Union

class AgentResponse:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AgentResponse should be a child of ModelResponde.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then inhereting all their attributes and methods.

aixplain/modules/agent/agent_response.py Outdated Show resolved Hide resolved
if self.additional_fields:
base_dict.update(self.additional_fields)
return base_dict

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aixplain/modules/agent/__init__.py Outdated Show resolved Hide resolved
aixplain/modules/agent/__init__.py Show resolved Hide resolved
aixplain/modules/agent/__init__.py Outdated Show resolved Hide resolved
aixplain/modules/agent/agent_response_data.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants