args: url=http://platform.smarter.sh/api/v1/cli/example_manifest/Provider/
cause: Python Exception
context: thing=Provider, command=example_manifest
description: <class smarter.lib.manifest.exceptions.SAMValidationError>: Encountered
an unexpected error. This is a bug. Please contact support@smarter.sh and/or report
to https://github.com/smarter-sh/smarter/issues.. Smarter API Manifest validation
error: Invalid name: Acme Corp.. Must be a valid clean string. Case sensitive. Must
be unique and not empty, with no leading or trailing whitespace and no special characters.
example: OpenAI, GoogleAI, MetaAI.
errorClass: SAMValidationError
stacktrace: "Traceback (most recent call last):
File "/home/smarter_user/smarter/smarter/apps/api/v1/cli/views/base.py" , line 510, in dispatch
response = super().dispatch(request, *args, **kwargs)
File "/home/smarter_user/venv/lib/python3.13/site-packages/rest_framework/views.py" , line 515, in dispatch
response = self.handle_exception(exc)
File "/home/smarter_user/venv/lib/python3.13/site-packages/rest_framework/views.py" , line 475, in handle_exception
self.raise_uncaught_exception(exc)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/home/smarter_user/venv/lib/python3.13/site-packages/rest_framework/views.py" , line 486, in raise_uncaught_exception
raise exc
File "/home/smarter_user/venv/lib/python3.13/site-packages/rest_framework/views.py" , line 512, in dispatch
response = handler(request, *args, **kwargs)
File "/home/smarter_user/smarter/smarter/apps/api/v1/cli/views/manifest.py", line 94, in get
response = self.broker.example_manifest(request=request, kwargs=kwargs)
File "/home/smarter_user/smarter/smarter/apps/provider/manifest/brokers/provider.py" , line 393, in example_manifest
spec_provider = SAMProviderSpecProvider(
name="Acme Corp.",
...<10 lines>...
privacy_policy_url=" https://www.acme-llm.com/privacy",
)
File "/home/smarter_user/venv/lib/python3.13/site-packages/pydantic/main.py" , line 250, in __init__
validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
File "/home/smarter_user/smarter/smarter/apps/provider/manifest/models/provider/spec.py" , line 90, in validate_name
raise SAMValidationError(
f"Invalid name: {v}. Must be a valid clean string. Case sensitive. Must be unique and not empty, with no leading or trailing whitespace and no special characters. example: OpenAI, GoogleAI, MetaAI."
)
smarter.lib.manifest.exceptions.SAMValidationError: Smarter API Manifest validation error: Invalid name: Acme Corp.. Must be a valid clean string. Case sensitive. Must be unique and not empty, with no leading or trailing whitespace and no special characters. example: OpenAI, GoogleAI, MetaAI.
"
status: 500