-
Notifications
You must be signed in to change notification settings - Fork 4
Fix dinner chat NyxID workflow binding #3584
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
base: feature/integrate
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,9 @@ | |
| "ApiBaseUrl": "https://nyx-api.chrono-ai.fun", | ||
| "GatewayEndpoint": "https://nyx-api.chrono-ai.fun/api/v1/llm/gateway/v1", | ||
| "ChronoLlmEndpoint": "https://llm.aelf.dev/v1", | ||
| "AdditionalRequiredServiceSlugs": [], | ||
| "AdditionalRequiredServiceSlugs": [ | ||
| "user-context-mock" | ||
| ], | ||
| "Relay": { | ||
| "EnableDebugDiagnostics": true | ||
| }, | ||
|
|
@@ -40,7 +42,7 @@ | |
| }, | ||
| "BackendConsole": { | ||
| "OidcAuthority": "https://nyx-api.chrono-ai.fun", | ||
| "OidcClientId": "a6ff2946-f02f-4c35-8203-1ec46132b660", | ||
| "OidcClientId": "8c76ced6-8f5a-4564-bea9-e3d98807f8ba", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This change deterministically breaks AGENTS.md reference: AGENTS.md:L14-L14 Useful? React with 👍 / 👎. |
||
| "OidcScope": "openid profile email offline_access proxy", | ||
| "NyxApiBaseUrl": "https://nyx-api.chrono-ai.fun", | ||
| "StorageKey": "aevatar-console:nyxid:pkce", | ||
|
|
@@ -87,7 +89,7 @@ | |
| "Status": { | ||
| "DefaultIntervalSeconds": 60, | ||
| "DefaultTimeoutMs": 5000, | ||
| "SelfBaseUrl": "http://localhost:5080", | ||
| "SelfBaseUrl": "http://127.0.0.1:5107", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With the normal local startup path, the host still listens on AGENTS.md reference: AGENTS.md:L147-L147 Useful? React with 👍 / 👎. |
||
| "UseBuiltInTargets": true | ||
| } | ||
| }, | ||
|
|
@@ -98,10 +100,10 @@ | |
| "ConfiguredTemplates": [ | ||
| { | ||
| "WorkflowId": "dinner_date", | ||
| "RevisionId": "dinner-date-mock-v9", | ||
| "WorkflowYamlPath": "workflow-templates/dinner_date_mock.yaml", | ||
| "WorkflowName": "dinner_date_mock", | ||
| "DisplayName": "Dinner Date Mock" | ||
| "RevisionId": "dinner-date-then-call-v5", | ||
| "WorkflowYamlPath": "workflow-templates/dinner_search_then_call.yaml", | ||
| "WorkflowName": "dinner_search_then_call", | ||
| "DisplayName": "Dinner Date Then Call" | ||
| } | ||
| ] | ||
| }, | ||
|
|
@@ -112,7 +114,7 @@ | |
| "DisplayName": "NyxID Chat Default", | ||
| "Purpose": "Default public NyxID chat surface with managed workflow execution.", | ||
| "Instructions": "Help users through ordinary chat. Do not start a managed workflow for ordinary questions, small talk, general information requests, weather questions, explanations, or troubleshooting. Start a managed workflow only when the current user request clearly asks for a dinner reservation, dinner date, restaurant booking, or restaurant-selection task that matches the configured dinner_date workflow. Before starting that workflow, use any available current-user read-only profile, preference, or context tool that is relevant to the dinner task. Interpret recovered context semantically against the selected workflow's expected input: the current user message always overrides recovered defaults for the same meaning, recovered context fills only missing task inputs, and the assistant asks the user only for inputs still missing after applying the current message, recovered context, and obvious conversational defaults. For dinner reservation or dinner date requests, start the configured managed workflow directly with the current request and any recovered semantic values instead of asking for planning details up front; the workflow start dispatcher may enrich a sparse JSON object with recovered context before execution. If the user names one companion and no party size is otherwise available, use party_size 2. The exact configured workflow_id is dinner_date; do not use policy revision ids, template revision ids, display names, or workflow names as workflow_id. Start dinner_date with aevatar_start_workflow and build the workflow input according to the published dinner_date input contract. Map semantic values from the current request and recovered context into the selected workflow's contract fields when those fields are known; preserve nested contract object structure only when that nesting exists in the published contract shape; do not create new grouping objects outside the contract shape; do not wrap them in a new schema, invent source-specific preference field names, or copy raw preference text into workflow evidence fields.", | ||
| "PolicyRevision": "nyxid-chat-managed-workflow-v2", | ||
| "PolicyRevision": "nyxid-chat-managed-workflow-v5", | ||
| "MaximumToolPolicy": { | ||
| "ToolNames": [ | ||
| "ask_user", | ||
|
|
@@ -122,9 +124,25 @@ | |
| ], | ||
| "ConnectedServiceSelectors": [ | ||
| { | ||
| "CatalogServiceSlug": "", | ||
| "EndpointId": "readDiningProfileContext", | ||
| "AllowedRisks": [ | ||
| "read_only" | ||
| ] | ||
| }, | ||
| { | ||
| "CatalogServiceSlug": "api-firecrawl", | ||
| "EndpointId": "095bdb84-688e-4a0f-b3f0-c6b6a8d398e1", | ||
| "AllowedRisks": [ | ||
| "read_only" | ||
| ] | ||
| }, | ||
| { | ||
| "CatalogServiceSlug": "api-elevenlabs", | ||
| "EndpointId": "b3e5c77c-0c75-44d8-b555-8d445dbce1c9", | ||
| "AllowedRisks": [ | ||
| "write" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
|
|
@@ -154,7 +172,7 @@ | |
| }, | ||
| "Studio": { | ||
| "Storage": { | ||
| "DefaultLocalRuntimeBaseUrl": "http://127.0.0.1:5080", | ||
| "DefaultLocalRuntimeBaseUrl": "http://127.0.0.1:5107", | ||
| "DefaultRemoteRuntimeBaseUrl": "https://aevatar-console-backend-api.aevatar.ai" | ||
| } | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding
user-context-mockhere makes it a global OAuth authorization floor, not an optional profile-context source:NyxIdRemoteCapabilityBrokerincludes everyAdditionalRequiredServiceSlugsentry inRequiredResourceUris()and rejects token issuance whenFindMissingRequiredResourcesAsynccannot find it. Consequently, existing users—or users making ordinary chat requests—who have not connected this mock service will hitrequired_service_access_missing, even though the profile instructions describe dining context as “any available” context. Leave this service optional and let the endpoint-only selector discover it when present.Useful? React with 👍 / 👎.