Variant name doubling: undocumented product_name + variant concatenation #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When calling
ayon_publish_model(product_name="modelMain", variant="lone"), the server creates a product namedmodelMain_lone. But if the agent passes the variant in the product_name already (product_name="modelMain_lone"), the server createsmodelMain_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_nameor leave it to the server.Reproduce
Expected
Either:
product_name="modelMain"bareActual
Behavior is implicit and silent — the product is created with the doubled name and no warning is returned.