INNER CODE UNIT · Python

__init__

concierge-hq/concierge · __init__.py:68

    def __init__(self, max_results=5, provider_type=ProviderType.PLAIN, model=None):
        self.max_results = max_results
        self.provider_type = provider_type
        self.model = model


IFRAME_TEMPLATE = """<!DOCTYPE html>
<html>
<head><style>*{margin:0;padding:0}iframe{width:100%;height:100vh;border:none}</style></head>
<body><iframe src="{url}"></iframe></body>
</html>"""


DEFAULT_WORKFLOW_INSTRUCTIONS = """
You are interacting with workflow which is self discoverable. This server unlocks new tools as you progress through the workflow.
You must ensure to call the relevant tools wherever applicable. Do not terminate early, the workflow will indicate when no more stages or tools are available. Do not assume you are done, unless the tools/workflow indicates this.
You are an autonomous agent performing long running tasks on the workflow. Only interrupt to ask the user if a tool requires SPECIFIC input that you dont have or need more clarity about. DO NOT ASSUME ANY DETAIL, pause and ask use when unsure.
Trust the workflow, the workflow is self-describing. Each stage transition reveals new capabilities. Your goal is to reach the terminal stage by executing tools and navigating stages.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…