mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
Merge branch 'feat/skills-ping' into develop
This commit is contained in:
@@ -21,6 +21,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: true
|
||||
|
||||
- name: Setup Node.js 24.x
|
||||
uses: actions/setup-node@v4
|
||||
|
||||
+1
-1
Submodule skills updated: 8030aef027...2dbb87011a
@@ -87,6 +87,7 @@ pub enum SkillMessage {
|
||||
reply: tokio::sync::oneshot::Sender<Result<(), String>>,
|
||||
},
|
||||
/// Notify the skill of an error from an async operation.
|
||||
#[allow(dead_code)]
|
||||
Error {
|
||||
error_type: String,
|
||||
message: String,
|
||||
|
||||
@@ -58,7 +58,10 @@ const skillsSlice = createSlice({
|
||||
}
|
||||
},
|
||||
|
||||
setSkillOAuthCredential(state, action: PayloadAction<{ skillId: string; credential: OAuthCredential | undefined }>) {
|
||||
setSkillOAuthCredential(
|
||||
state,
|
||||
action: PayloadAction<{ skillId: string; credential: OAuthCredential | undefined }>
|
||||
) {
|
||||
const { skillId, credential } = action.payload;
|
||||
if (state.skills[skillId]) {
|
||||
state.skills[skillId].oauthCredential = credential;
|
||||
|
||||
Reference in New Issue
Block a user