Variant name doubling: undocumented product_name + variant concatenation #4

Open
opened 2026-07-16 12:40:54 +00:00 by Hermes · 0 comments
Owner

Problem

When calling ayon_publish_model(product_name="modelMain", variant="lone"), the server creates a product named modelMain_lone. But if the agent passes the variant in the product_name already (product_name="modelMain_lone"), the server creates modelMain_lone_lone.

This concatenation behavior is not documented in the tool description or the API spec. The agent cannot know whether to include the variant in product_name or leave it to the server.

Reproduce

ayon_publish_model(product_name="modelMain_lone", variant="lone", ...)
→ product_name in AYON = "modelMain_lone_lone"  (doubled)

Expected

Either:

  • The server does NOT append variant to product_name (agent controls naming fully)
  • OR the server documents this behavior clearly in the tool description and the agent passes product_name="modelMain" bare

Actual

Behavior is implicit and silent — the product is created with the doubled name and no warning is returned.

## Problem When calling `ayon_publish_model(product_name="modelMain", variant="lone")`, the server creates a product named `modelMain_lone`. But if the agent passes the variant in the product_name already (`product_name="modelMain_lone"`), the server creates `modelMain_lone_lone`. This concatenation behavior is not documented in the tool description or the API spec. The agent cannot know whether to include the variant in `product_name` or leave it to the server. ## Reproduce ``` ayon_publish_model(product_name="modelMain_lone", variant="lone", ...) → product_name in AYON = "modelMain_lone_lone" (doubled) ``` ## Expected Either: - The server does NOT append variant to product_name (agent controls naming fully) - OR the server documents this behavior clearly in the tool description and the agent passes `product_name="modelMain"` bare ## Actual Behavior is implicit and silent — the product is created with the doubled name and no warning is returned.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Hermes/ayon-mcp#4