@@ -718,11 +718,7 @@ impl DaemonState {
718718 codex_core:: resume_thread_core ( & self . sessions , workspace_id, thread_id) . await
719719 }
720720
721- async fn read_thread (
722- & self ,
723- workspace_id : String ,
724- thread_id : String ,
725- ) -> Result < Value , String > {
721+ async fn read_thread ( & self , workspace_id : String , thread_id : String ) -> Result < Value , String > {
726722 codex_core:: read_thread_core ( & self . sessions , workspace_id, thread_id) . await
727723 }
728724
@@ -791,8 +787,7 @@ impl DaemonState {
791787 limit : Option < u32 > ,
792788 sort_key : Option < String > ,
793789 ) -> Result < Value , String > {
794- codex_core:: list_threads_core ( & self . sessions , workspace_id, cursor, limit, sort_key)
795- . await
790+ codex_core:: list_threads_core ( & self . sessions , workspace_id, cursor, limit, sort_key) . await
796791 }
797792
798793 async fn list_mcp_server_status (
@@ -935,6 +930,13 @@ impl DaemonState {
935930 . await
936931 }
937932
933+ async fn account_rate_limit_reset_credits (
934+ & self ,
935+ workspace_id : String ,
936+ ) -> Result < Value , String > {
937+ codex_core:: account_rate_limit_reset_credits_core ( & self . workspaces , workspace_id) . await
938+ }
939+
938940 async fn account_read ( & self , workspace_id : String ) -> Result < Value , String > {
939941 codex_core:: account_read_core ( & self . sessions , & self . workspaces , workspace_id) . await
940942 }
0 commit comments