Skip to content

Hypha service context #70

Description

@oeway

Currently, the service functions always has context in the kwargs (e.g.

def move_by_distance_schema(self, config: MoveByDistanceInput, context=None):
) but the require_context is set to False. This cause the extra unnecessary context in the service schema: https://hypha.aicell.io/agent-lens/services/squid-control-reef

I'd suggest to set require_context=True always.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions