mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-11 12:17:45 +02:00
[Haik]: fixed backend-bridge imports
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
import { API_BASE } from '@/shared/backend/base_routes';
|
||||
import { API_BASE } from '@/shared/backend-bridge/base_routes';
|
||||
import type {
|
||||
AgentSession, HistorySession,
|
||||
} from '@/shared/state/agentsTypes';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
import { API_BASE } from '@/shared/backend/base_routes';
|
||||
import { API_BASE } from '@/shared/backend-bridge/base_routes';
|
||||
|
||||
const APP_BUILDER_API: string = `${API_BASE}/app_builder`;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
import { API_BASE } from '@/shared/backend/base_routes';
|
||||
import { API_BASE } from '@/shared/backend-bridge/base_routes';
|
||||
|
||||
const DASHBOARDS_API: string = `${API_BASE}/dashboards`;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
import { API_BASE } from '@/shared/backend/base_routes';
|
||||
import { API_BASE } from '@/shared/backend-bridge/base_routes';
|
||||
|
||||
const HEALTH_API: string = `${API_BASE}/health`;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
import { API_BASE } from '@/shared/backend/base_routes';
|
||||
import { API_BASE } from '@/shared/backend-bridge/base_routes';
|
||||
|
||||
const MODES_API: string = `${API_BASE}/modes`;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
import { API_BASE } from '@/shared/backend/base_routes';
|
||||
import { API_BASE } from '@/shared/backend-bridge/base_routes';
|
||||
|
||||
const SETTINGS_API: string = `${API_BASE}/settings`;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
import { API_BASE } from '@/shared/backend/base_routes';
|
||||
import { API_BASE } from '@/shared/backend-bridge/base_routes';
|
||||
|
||||
const SKILLS_API: string = `${API_BASE}/skills`;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
import { API_BASE } from '@/shared/backend/base_routes';
|
||||
import { API_BASE } from '@/shared/backend-bridge/base_routes';
|
||||
|
||||
const SUBSCRIPTIONS_API: string = `${API_BASE}/subscriptions`;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createAsyncThunk } from '@reduxjs/toolkit';
|
||||
import { API_BASE } from '@/shared/backend/base_routes';
|
||||
import { API_BASE } from '@/shared/backend-bridge/base_routes';
|
||||
|
||||
const TOOLS_API: string = `${API_BASE}/tools`;
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import type { ActionReducerMapBuilder } from '@reduxjs/toolkit';
|
||||
import type { AgentsState, AgentSession, HistorySession } from './agentsTypes';
|
||||
import {
|
||||
fetchSessions, launchAgent, launchAndSendFirstMessage, generateTitle,
|
||||
generateGroupMeta, updateSystemPrompt, sendMessage, editMessage,
|
||||
stopAgent, handleApproval, switchBranch, duplicateSession,
|
||||
closeSession, deleteSession, fetchHistory, resumeSession,
|
||||
fetchSession, fetchBrowserAgentChildren, searchHistory,
|
||||
} from './agentsThunks';
|
||||
import type { AgentsState, HistorySession } from './agentsTypes';
|
||||
// import {
|
||||
// fetchSessions, launchAgent, launchAndSendFirstMessage, generateTitle,
|
||||
// generateGroupMeta, updateSystemPrompt, sendMessage, editMessage,
|
||||
// stopAgent, handleApproval, switchBranch, duplicateSession,
|
||||
// closeSession, deleteSession, fetchHistory, resumeSession,
|
||||
// fetchSession, fetchBrowserAgentChildren, searchHistory,
|
||||
// } from './agentsThunks';
|
||||
|
||||
export function buildExtraReducers(builder: ActionReducerMapBuilder<AgentsState>) {
|
||||
builder
|
||||
|
||||
Reference in New Issue
Block a user