300 || TheDotDevAgenticBridge_Question_Evidence::terms($thedotdev_agentic_bridge_question) === []) { $thedotdev_agentic_bridge_question_error = __('Enter a specific question between 8 and 300 characters.', 'agentic-bridge'); } else { $thedotdev_agentic_bridge_question_local = TheDotDevAgenticBridge_Question_Evidence::local_candidates($thedotdev_agentic_bridge_question); $thedotdev_agentic_bridge_question_checked = $thedotdev_agentic_bridge_question_local['checked']; $thedotdev_agentic_bridge_question_results = $thedotdev_agentic_bridge_question_local['results']; if (isset($_POST['tdab_question_send'])) { $thedotdev_agentic_bridge_read_field = static fn(string $key): string => isset($_POST[$key]) && is_string($_POST[$key]) ? sanitize_text_field(wp_unslash($_POST[$key])) : ''; $thedotdev_agentic_bridge_question_provider_result = TheDotDevAgenticBridge_Connector::request_question_preview($thedotdev_agentic_bridge_question, absint($thedotdev_agentic_bridge_read_field('tdab_question_page')), $thedotdev_agentic_bridge_read_field('tdab_question_disclosure'), $thedotdev_agentic_bridge_read_field('tdab_question_operation'), $thedotdev_agentic_bridge_read_field('tdab_question_consent') === '1'); } } } } ?>

get_error_message()); ?>

__('Assessment complete. Review the evidence below.', 'agentic-bridge'), 'idempotent_replay'=>__('Showing the result of your earlier request.', 'agentic-bridge'), 'quota_blocked'=>__('Your AI usage limit has been reached. You can still review the local evidence.', 'agentic-bridge'), 'unavailable'=>__('AI assessment is currently unavailable. You can still review the local evidence.', 'agentic-bridge'), 'timeout'=>__('The request timed out. Retry the same reviewed question to check its result.', 'agentic-bridge'), 'uncertain_dispatch'=>__('We could not confirm the result. Retry the same reviewed question; do not start a new request.', 'agentic-bridge'), 'refusal'=>__('The AI provider did not assess this question.', 'agentic-bridge'), 'insufficient_evidence'=>__('There was not enough source text to assess this question.', 'agentic-bridge'), 'invalid_selection'=>__('This source is no longer available for assessment. Find local evidence again.', 'agentic-bridge'), ][$thedotdev_agentic_bridge_question_provider_result['status']] ?? __('The response could not be validated. No assessment is shown.', 'agentic-bridge')); ?>

__('Supported by supplied text', 'agentic-bridge'),'partial'=>__('Partly supported', 'agentic-bridge'),'not_found'=>__('Not found in supplied text', 'agentic-bridge'),'conflicting'=>__('Potential conflicting information', 'agentic-bridge'),'uncertain'=>__('Needs human review', 'agentic-bridge')][$thedotdev_agentic_bridge_qa['status']]); ?>