diff --git a/robot/architecture.robot b/robot/architecture.robot index c95712a19..9d9261809 100644 --- a/robot/architecture.robot +++ b/robot/architecture.robot @@ -32,8 +32,7 @@ Package Init Files Should Have Docstrings ${exists}= Run Keyword And Return Status File Should Exist ${init_file} IF ${exists} ${content}= Get File ${init_file} - ${has_docstring}= Run Keyword And Return Status Should Contain ${content} """ - Run Keyword If not ${has_docstring} Log Missing docstring in ${package}/__init__.py WARN + Should Contain ${content} """ Missing docstring in ${package}/__init__.py END END @@ -67,26 +66,22 @@ Type Marker Should Exist Configuration Should Use CLEVERAGENTS Prefix [Documentation] Verify environment variables use correct prefix ${settings_file}= Set Variable ${SRC_DIR}/config/settings.py - ${exists}= Run Keyword And Return Status File Should Exist ${settings_file} - IF ${exists} - ${content}= Get File ${settings_file} - # Check for CLEVERAGENTS_ prefix - ${matches}= Get Regexp Matches ${content} CLEVERAGENTS_[A-Z_]+ - ${count}= Get Length ${matches} - Should Be True ${count} > 0 No CLEVERAGENTS_ variables found in settings - END + File Should Exist ${settings_file} + ${content}= Get File ${settings_file} + # Check for CLEVERAGENTS_ prefix + ${matches}= Get Regexp Matches ${content} CLEVERAGENTS_[A-Z_]+ + ${count}= Get Length ${matches} + Should Be True ${count} > 0 No CLEVERAGENTS_ variables found in settings Core Exception Hierarchy Should Be Defined [Documentation] Verify exception hierarchy from ADR-005 ${exceptions_file}= Set Variable ${SRC_DIR}/core/exceptions.py - ${exists}= Run Keyword And Return Status File Should Exist ${exceptions_file} - IF ${exists} - ${content}= Get File ${exceptions_file} - Should Contain ${content} class CleverAgentsError - Should Contain ${content} class DomainError - Should Contain ${content} class InfrastructureError - Should Contain ${content} class ValidationError - END + File Should Exist ${exceptions_file} + ${content}= Get File ${exceptions_file} + Should Contain ${content} class CleverAgentsError + Should Contain ${content} class DomainError + Should Contain ${content} class InfrastructureError + Should Contain ${content} class ValidationError *** Keywords *** List Files In Directory diff --git a/src/cleveragents/providers/__init__.py b/src/cleveragents/providers/__init__.py index 6ff123c44..fae78a540 100644 --- a/src/cleveragents/providers/__init__.py +++ b/src/cleveragents/providers/__init__.py @@ -1,3 +1,9 @@ +"""Providers Layer - AI Model Provider Integrations. + +This package handles AI model provider implementations, cost tracking, +fallback selection, and provider registry management. +""" + from .cost_table import CostEntry, ProviderCostTable from .cost_tracker import BudgetCheckResult, BudgetStatus, CostTracker from .fallback_selector import FallbackResult, FallbackSelector