Skip to content

Commit

Permalink
Merge branch 'dev' into feat/support-tg-front
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramimashkouk committed Oct 1, 2024
2 parents d3006b0 + 1de852f commit ee009ec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion backend/chatsky_ui/api/api_v1/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from fastapi import APIRouter

from chatsky_ui.api.api_v1.endpoints import bot, config, chatsky_services, flows
from chatsky_ui.api.api_v1.endpoints import bot, chatsky_services, config, flows
from chatsky_ui.core.config import settings

api_router = APIRouter()
Expand Down
2 changes: 1 addition & 1 deletion backend/chatsky_ui/api/api_v1/endpoints/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
from chatsky_ui.api import deps
from chatsky_ui.schemas.pagination import Pagination
from chatsky_ui.schemas.preset import Preset
from chatsky_ui.schemas.process_status import Status
from chatsky_ui.services.index import Index
from chatsky_ui.services.process_manager import BuildManager, ProcessManager, RunManager
from chatsky_ui.services.websocket_manager import WebSocketManager
from chatsky_ui.schemas.process_status import Status

router = APIRouter()

Expand Down
2 changes: 1 addition & 1 deletion backend/chatsky_ui/services/condition_finder.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ast
from ast import NodeTransformer
from typing import List, Dict
from typing import Dict, List

from chatsky_ui.core.logger_config import get_logger

Expand Down
3 changes: 2 additions & 1 deletion backend/chatsky_ui/services/json_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
from pathlib import Path
from typing import List, Optional, Tuple

from omegaconf.dictconfig import DictConfig

from chatsky_ui.core.config import settings
from chatsky_ui.core.logger_config import get_logger
from chatsky_ui.db.base import read_conf, write_conf
from chatsky_ui.services.condition_finder import ServiceReplacer
from omegaconf.dictconfig import DictConfig

logger = get_logger(__name__)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ const PythonCondition = ({ condition, setData }: ConditionModalContentType) => {
})
}

// useEffect(() => {
// console.log(condition.data.python?.action)
// }, [condition])

function dffAutocomplete(context: CompletionContext) {
const word = context.matchBefore(/\b(?:cnd)\.\w*/)
if (!word) return null
Expand Down

0 comments on commit ee009ec

Please sign in to comment.