From 73dd18baf4ec14581c768c308331bd46a275e95e Mon Sep 17 00:00:00 2001 From: qhd <1766646056@qq.com> Date: Thu, 11 Jun 2026 09:16:53 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0common=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=BE=9D=E8=B5=96=E4=BB=93=E5=BA=93=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- digital-human/controller/audio_controller.go | 2 +- .../controller/custom_voice_controller.go | 2 +- .../controller/digitalhuman_controller.go | 2 +- digital-human/controller/video_controller.go | 2 +- digital-human/dao/async_task_ref_dao.go | 2 +- digital-human/dao/audio_dao.go | 2 +- digital-human/dao/custom_voice_dao.go | 4 ++-- digital-human/dao/digitalhuman_dao.go | 2 +- digital-human/dao/video_dao.go | 2 +- digital-human/model/dto/audio_dto.go | 2 +- digital-human/model/dto/custom_voice_dto.go | 2 +- digital-human/model/dto/digitalhuman_dto.go | 2 +- digital-human/model/dto/video_dto.go | 2 +- digital-human/model/entity/async_task_ref.go | 2 +- digital-human/model/entity/audio.go | 2 +- digital-human/model/entity/custom_voice.go | 2 +- digital-human/model/entity/digitalhuman.go | 2 +- digital-human/model/entity/video.go | 2 +- digital-human/service/http_wrapper.go | 4 ++-- go.mod | 21 ++++++++----------- go.sum | 18 ++++++++++++++++ main.go | 4 ++-- .../controller/creation_info_controller.go | 2 +- .../flow/flow_execution_controller.go | 2 +- .../flow/flow_template_controller.go | 2 +- .../controller/flow/flow_user_controller.go | 2 +- .../controller/node/node_prompt_controller.go | 2 +- .../skill/skill_template_controller.go | 2 +- .../controller/skill/skill_user_controller.go | 2 +- workflow/dao/creation_info_dao.go | 2 +- workflow/dao/file/file_temp_dao.go | 2 +- workflow/dao/flow/flow_execution_dao.go | 2 +- workflow/dao/flow/flow_template_dao.go | 2 +- workflow/dao/flow/flow_user_dao.go | 2 +- workflow/dao/node/node_execution_dao.go | 2 +- workflow/dao/node/node_prompt_dao.go | 2 +- workflow/dao/skill/skill_template_dao.go | 2 +- workflow/dao/skill/skill_user_dao.go | 2 +- workflow/model/dto/creation_info_dto.go | 2 +- workflow/model/dto/file/file_temp_dto.go | 2 +- workflow/model/dto/flow/flow_execution_dto.go | 2 +- workflow/model/dto/flow/flow_template_dto.go | 2 +- workflow/model/dto/flow/flow_user_dto.go | 2 +- workflow/model/dto/node/node_execution_dto.go | 2 +- workflow/model/dto/node/node_prompt_dto.go | 2 +- workflow/model/dto/pull/active_pull_dto.go | 2 +- .../model/dto/skill/skill_template_dto.go | 2 +- workflow/model/dto/skill/skill_user_dto.go | 2 +- workflow/model/entity/active_pull.go | 2 +- workflow/model/entity/creation_info.go | 2 +- workflow/model/entity/file_temp.go | 2 +- workflow/model/entity/flow_execution.go | 2 +- workflow/model/entity/flow_template.go | 2 +- workflow/model/entity/flow_user.go | 2 +- workflow/model/entity/node_execution.go | 2 +- workflow/model/entity/node_prompt.go | 2 +- workflow/model/entity/skill_template.go | 2 +- workflow/model/entity/skill_user.go | 2 +- workflow/service/creation_info_service.go | 2 +- workflow/service/einograph/lambda_func.go | 4 ++-- .../service/flow/flow_execution_service.go | 2 +- workflow/service/flow/flow_user_service.go | 4 ++-- workflow/service/flow/lambda_node.go | 4 ++-- workflow/service/flow/lambda_node_imp.go | 4 ++-- workflow/service/flow/lambda_node_util.go | 8 +++++-- workflow/service/node/node_library_service.go | 4 ++-- workflow/service/node/node_prompt_service.go | 2 +- workflow/service/skill/skill_user_service.go | 4 ++-- workflow/service/util_service.go | 2 +- 69 files changed, 108 insertions(+), 89 deletions(-) diff --git a/digital-human/controller/audio_controller.go b/digital-human/controller/audio_controller.go index 14e7be0..9760087 100644 --- a/digital-human/controller/audio_controller.go +++ b/digital-human/controller/audio_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/digital-human/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/digital-human/controller/custom_voice_controller.go b/digital-human/controller/custom_voice_controller.go index 79e5753..5a0e3c5 100644 --- a/digital-human/controller/custom_voice_controller.go +++ b/digital-human/controller/custom_voice_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/digital-human/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/digital-human/controller/digitalhuman_controller.go b/digital-human/controller/digitalhuman_controller.go index d029946..615264b 100644 --- a/digital-human/controller/digitalhuman_controller.go +++ b/digital-human/controller/digitalhuman_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/digital-human/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type digitalhuman struct{} diff --git a/digital-human/controller/video_controller.go b/digital-human/controller/video_controller.go index 71eb814..57382f5 100644 --- a/digital-human/controller/video_controller.go +++ b/digital-human/controller/video_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/digital-human/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type video struct{} diff --git a/digital-human/dao/async_task_ref_dao.go b/digital-human/dao/async_task_ref_dao.go index b2dc11c..5c147c0 100644 --- a/digital-human/dao/async_task_ref_dao.go +++ b/digital-human/dao/async_task_ref_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/digital-human/consts/public" "ai-agent/digital-human/model/entity" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" ) diff --git a/digital-human/dao/audio_dao.go b/digital-human/dao/audio_dao.go index c903c26..3211ffe 100644 --- a/digital-human/dao/audio_dao.go +++ b/digital-human/dao/audio_dao.go @@ -7,7 +7,7 @@ import ( "ai-agent/digital-human/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" diff --git a/digital-human/dao/custom_voice_dao.go b/digital-human/dao/custom_voice_dao.go index 78f1e4e..997c8fa 100644 --- a/digital-human/dao/custom_voice_dao.go +++ b/digital-human/dao/custom_voice_dao.go @@ -6,8 +6,8 @@ import ( "ai-agent/digital-human/model/entity" "context" - "gitea.com/red-future/common/beans" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/digital-human/dao/digitalhuman_dao.go b/digital-human/dao/digitalhuman_dao.go index 693272d..39ebc8f 100644 --- a/digital-human/dao/digitalhuman_dao.go +++ b/digital-human/dao/digitalhuman_dao.go @@ -7,7 +7,7 @@ import ( "ai-agent/digital-human/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" diff --git a/digital-human/dao/video_dao.go b/digital-human/dao/video_dao.go index 53faaf0..d6ec26a 100644 --- a/digital-human/dao/video_dao.go +++ b/digital-human/dao/video_dao.go @@ -7,7 +7,7 @@ import ( "ai-agent/digital-human/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" diff --git a/digital-human/model/dto/audio_dto.go b/digital-human/model/dto/audio_dto.go index ad37401..5d3350a 100644 --- a/digital-human/model/dto/audio_dto.go +++ b/digital-human/model/dto/audio_dto.go @@ -3,7 +3,7 @@ package dto import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/digital-human/model/dto/custom_voice_dto.go b/digital-human/model/dto/custom_voice_dto.go index b8c6cd0..d2395b3 100644 --- a/digital-human/model/dto/custom_voice_dto.go +++ b/digital-human/model/dto/custom_voice_dto.go @@ -1,7 +1,7 @@ package dto import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/digital-human/model/dto/digitalhuman_dto.go b/digital-human/model/dto/digitalhuman_dto.go index 1ee4ca1..e22341e 100644 --- a/digital-human/model/dto/digitalhuman_dto.go +++ b/digital-human/model/dto/digitalhuman_dto.go @@ -3,7 +3,7 @@ package dto import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/digital-human/model/dto/video_dto.go b/digital-human/model/dto/video_dto.go index 4232504..41f690a 100644 --- a/digital-human/model/dto/video_dto.go +++ b/digital-human/model/dto/video_dto.go @@ -3,7 +3,7 @@ package dto import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/digital-human/model/entity/async_task_ref.go b/digital-human/model/entity/async_task_ref.go index 0a9ab84..55531fc 100644 --- a/digital-human/model/entity/async_task_ref.go +++ b/digital-human/model/entity/async_task_ref.go @@ -1,7 +1,7 @@ package entity import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type asyncTaskRefCol struct { diff --git a/digital-human/model/entity/audio.go b/digital-human/model/entity/audio.go index 15740e8..62f65c0 100644 --- a/digital-human/model/entity/audio.go +++ b/digital-human/model/entity/audio.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type audioCol struct { diff --git a/digital-human/model/entity/custom_voice.go b/digital-human/model/entity/custom_voice.go index ecca640..676059c 100644 --- a/digital-human/model/entity/custom_voice.go +++ b/digital-human/model/entity/custom_voice.go @@ -1,7 +1,7 @@ package entity import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type customVoiceCol struct { diff --git a/digital-human/model/entity/digitalhuman.go b/digital-human/model/entity/digitalhuman.go index af2af2b..13093dc 100644 --- a/digital-human/model/entity/digitalhuman.go +++ b/digital-human/model/entity/digitalhuman.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type digitalHumanCol struct { diff --git a/digital-human/model/entity/video.go b/digital-human/model/entity/video.go index f6261cc..0292876 100644 --- a/digital-human/model/entity/video.go +++ b/digital-human/model/entity/video.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/digital-human/consts" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type videoCol struct { diff --git a/digital-human/service/http_wrapper.go b/digital-human/service/http_wrapper.go index d6e62e7..e9f12f7 100644 --- a/digital-human/service/http_wrapper.go +++ b/digital-human/service/http_wrapper.go @@ -13,8 +13,8 @@ import ( "sync" "time" - commonHttp "gitea.com/red-future/common/http" - "gitea.com/red-future/common/utils" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/errors/gerror" "github.com/gogf/gf/v2/frame/g" ) diff --git a/go.mod b/go.mod index 7b42d39..c832e10 100644 --- a/go.mod +++ b/go.mod @@ -3,21 +3,18 @@ module ai-agent go 1.26.0 require ( - gitea.com/red-future/common v0.0.21 - github.com/cloudwego/eino v0.8.13 + gitea.redpowerfuture.com/red-future/common v0.0.23 + github.com/cloudwego/eino v0.9.5 github.com/cloudwego/eino-ext/components/model/qwen v0.1.9 - github.com/gogf/gf/contrib/drivers/pgsql/v2 v2.10.0 - github.com/gogf/gf/contrib/nosql/redis/v2 v2.10.0 - github.com/gogf/gf/v2 v2.10.0 + github.com/gogf/gf/contrib/drivers/pgsql/v2 v2.10.2 + github.com/gogf/gf/contrib/nosql/redis/v2 v2.10.2 + github.com/gogf/gf/v2 v2.10.2 github.com/google/uuid v1.6.0 - github.com/stretchr/testify v1.11.1 github.com/tidwall/gjson v1.19.0 github.com/tidwall/sjson v1.2.5 - go.opentelemetry.io/otel/trace v1.38.0 + go.opentelemetry.io/otel/trace v1.44.0 ) -//replace gitea.com/red-future/common => ../common - require ( github.com/BurntSushi/toml v1.5.0 // indirect github.com/armon/go-metrics v0.4.1 // indirect @@ -103,11 +100,11 @@ require ( github.com/yargevad/filepathx v1.0.0 // indirect go.mongodb.org/mongo-driver/v2 v2.5.0 // indirect go.opencensus.io v0.23.0 // indirect - go.opentelemetry.io/auto/sdk v1.1.0 // indirect - go.opentelemetry.io/otel v1.38.0 // indirect + go.opentelemetry.io/auto/sdk v1.2.1 // indirect + go.opentelemetry.io/otel v1.44.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.38.0 // indirect - go.opentelemetry.io/otel/metric v1.38.0 // indirect + go.opentelemetry.io/otel/metric v1.44.0 // indirect go.opentelemetry.io/otel/sdk v1.38.0 // indirect go.opentelemetry.io/proto/otlp v1.7.1 // indirect golang.org/x/arch v0.11.0 // indirect diff --git a/go.sum b/go.sum index a786f26..0508072 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= gitea.com/red-future/common v0.0.21 h1:8w30HmCVmFG/hphH3ODJs1KxDEGmRpq+/PXI0pQjJKc= gitea.com/red-future/common v0.0.21/go.mod h1:6/nqIucVzmjOyqDTIq71feYBXXFNBy0rFwzaQ0/Ueoo= +gitea.redpowerfuture.com/red-future/common v0.0.23 h1:xieoA00iKOCDm5SO9iXn+cSyMKBAlZwI0fuEVPWrHLg= +gitea.redpowerfuture.com/red-future/common v0.0.23/go.mod h1:50U1Xi+Ie56z09S5LQbZvaken0Mxv3OeS9LgR7U/ZRY= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg= github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= @@ -58,6 +60,8 @@ github.com/cloudwego/base64x v0.1.6 h1:t11wG9AECkCDk5fMSoxmufanudBtJ+/HemLstXDLI github.com/cloudwego/base64x v0.1.6/go.mod h1:OFcloc187FXDaYHvrNIjxSe8ncn0OOM8gEHfghB2IPU= github.com/cloudwego/eino v0.8.13 h1:z5dhaZNN8TWZbP/lgKxGmF26Ii8fPeUlQCGV/NTtms0= github.com/cloudwego/eino v0.8.13/go.mod h1:+2N4nsMPxA6kGBHpH+75JuTfEcGprAMTdsZESrShKpU= +github.com/cloudwego/eino v0.9.5 h1:0Nftjx9gPek/2S/hzm38LVxSjk5/6mqRr3I9VKrKvm4= +github.com/cloudwego/eino v0.9.5/go.mod h1:OBD1mrkfkt/pJa4rkg1P0VnaMeOVl7l8IAdEqY//3IQ= github.com/cloudwego/eino-ext/components/model/qwen v0.1.9 h1:xCz/mp43JeWqupjPR3zLRArmwC6P29/6lTwbwh1yzYM= github.com/cloudwego/eino-ext/components/model/qwen v0.1.9/go.mod h1:slTGTuhzkzhNavf+1UtUg1FvUSA31iNAF+rq1mT4SnI= github.com/cloudwego/eino-ext/libs/acl/openai v0.1.17 h1:EeVcR1TslRA2IdNW1h/2LaGbPlffwGhQm99jM3zWZiI= @@ -114,14 +118,20 @@ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/me github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogf/gf/contrib/drivers/pgsql/v2 v2.10.0 h1:39+jbTenm7KBj4hO2C8ANAxVHpX/7OuRDs1VcGC9ylA= github.com/gogf/gf/contrib/drivers/pgsql/v2 v2.10.0/go.mod h1:B0s0fVzn0W220E8UTpSGzrrGKsop5KcB90twBeLCiz0= +github.com/gogf/gf/contrib/drivers/pgsql/v2 v2.10.2 h1:u8EpP24GkprogROnJ7htMov9Fc66pTP1eVYrWxiCYOs= +github.com/gogf/gf/contrib/drivers/pgsql/v2 v2.10.2/go.mod h1:GmvM3r8GVByVMi4RD2+MCs5+CfxVXPMeT8mVDkAaAXE= github.com/gogf/gf/contrib/nosql/redis/v2 v2.10.0 h1:N/F9CuDdUZLoM1nVRqrDE/33pDZuhVxpNY4wYdeIaBs= github.com/gogf/gf/contrib/nosql/redis/v2 v2.10.0/go.mod h1:x6uoJGfZOtirIRQls8xUlYzC6f7T/eULPUa9er368X0= +github.com/gogf/gf/contrib/nosql/redis/v2 v2.10.2 h1:iTQegT+lEg/wDKvj2mi3W1wrdrwFarjokf88EXVVgu4= +github.com/gogf/gf/contrib/nosql/redis/v2 v2.10.2/go.mod h1:ZRw3GNz5cq4uYrW4TPSVyrYWaoqzujKdWro/AOcGBaE= github.com/gogf/gf/contrib/registry/consul/v2 v2.9.5 h1:eUqwJ/qNH8lJ6yssiqskazgp1ACQuNU6zXlLOZVuXTQ= github.com/gogf/gf/contrib/registry/consul/v2 v2.9.5/go.mod h1:sjQyMry9+0POYZCA6lHXBxO77WoNKkruJpRB4xKqk5k= github.com/gogf/gf/contrib/trace/otlphttp/v2 v2.9.5 h1:tHUEZYB5GTqEYYVDYnlGobf1xISARKDE4KHVlgjwTec= github.com/gogf/gf/contrib/trace/otlphttp/v2 v2.9.5/go.mod h1:cfzTn2HS9RDX8f5pUVkbGxUWcSosouqfNQ1G6cY0V88= github.com/gogf/gf/v2 v2.10.0 h1:rzDROlyqGMe/eM6dCalSR8dZOuMIdLhmxKSH1DGhbFs= github.com/gogf/gf/v2 v2.10.0/go.mod h1:Svl1N+E8G/QshU2DUbh/3J/AJauqCgUnxHurXWR4Qx0= +github.com/gogf/gf/v2 v2.10.2 h1:46IO0Uc8e85/FqdftJFskfDejJLBL0JBnGS5qOftUu8= +github.com/gogf/gf/v2 v2.10.2/go.mod h1:Svl1N+E8G/QshU2DUbh/3J/AJauqCgUnxHurXWR4Qx0= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= @@ -403,20 +413,28 @@ go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= +go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= +go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= go.opentelemetry.io/otel v1.38.0 h1:RkfdswUDRimDg0m2Az18RKOsnI8UDzppJAtj01/Ymk8= go.opentelemetry.io/otel v1.38.0/go.mod h1:zcmtmQ1+YmQM9wrNsTGV/q/uyusom3P8RxwExxkZhjM= +go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= +go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0 h1:GqRJVj7UmLjCVyVJ3ZFLdPRmhDUp2zFmQe3RHIOsw24= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.38.0/go.mod h1:ri3aaHSmCTVYu2AWv44YMauwAQc0aqI9gHKIcSbI1pU= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.38.0 h1:aTL7F04bJHUlztTsNGJ2l+6he8c+y/b//eR0jjjemT4= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.38.0/go.mod h1:kldtb7jDTeol0l3ewcmd8SDvx3EmIE7lyvqbasU3QC4= go.opentelemetry.io/otel/metric v1.38.0 h1:Kl6lzIYGAh5M159u9NgiRkmoMKjvbsKtYRwgfrA6WpA= go.opentelemetry.io/otel/metric v1.38.0/go.mod h1:kB5n/QoRM8YwmUahxvI3bO34eVtQf2i4utNVLr9gEmI= +go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= +go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= go.opentelemetry.io/otel/sdk v1.38.0 h1:l48sr5YbNf2hpCUj/FoGhW9yDkl+Ma+LrVl8qaM5b+E= go.opentelemetry.io/otel/sdk v1.38.0/go.mod h1:ghmNdGlVemJI3+ZB5iDEuk4bWA3GkTpW+DOoZMYBVVg= go.opentelemetry.io/otel/sdk/metric v1.38.0 h1:aSH66iL0aZqo//xXzQLYozmWrXxyFkBJ6qT5wthqPoM= go.opentelemetry.io/otel/sdk/metric v1.38.0/go.mod h1:dg9PBnW9XdQ1Hd6ZnRz689CbtrUp0wMMs9iPcgT9EZA= go.opentelemetry.io/otel/trace v1.38.0 h1:Fxk5bKrDZJUH+AMyyIXGcFAPah0oRcT+LuNtJrmcNLE= go.opentelemetry.io/otel/trace v1.38.0/go.mod h1:j1P9ivuFsTceSWe1oY+EeW3sc+Pp42sO++GHkg4wwhs= +go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= +go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= go.opentelemetry.io/proto/otlp v1.7.1 h1:gTOMpGDb0WTBOP8JaO72iL3auEZhVmAQg4ipjOVAtj4= go.opentelemetry.io/proto/otlp v1.7.1/go.mod h1:b2rVh6rfI/s2pHWNlB7ILJcRALpcNDzKhACevjI+ZnE= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= diff --git a/main.go b/main.go index 194f31c..6cef41f 100644 --- a/main.go +++ b/main.go @@ -8,8 +8,8 @@ import ( workflowSkillController "ai-agent/workflow/controller/skill" "context" - "gitea.com/red-future/common/http" - "gitea.com/red-future/common/jaeger" + "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/jaeger" _ "github.com/gogf/gf/contrib/drivers/pgsql/v2" _ "github.com/gogf/gf/contrib/nosql/redis/v2" ) diff --git a/workflow/controller/creation_info_controller.go b/workflow/controller/creation_info_controller.go index 3886ca5..16548af 100644 --- a/workflow/controller/creation_info_controller.go +++ b/workflow/controller/creation_info_controller.go @@ -5,7 +5,7 @@ import ( "ai-agent/workflow/service" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type creationInfo struct{} diff --git a/workflow/controller/flow/flow_execution_controller.go b/workflow/controller/flow/flow_execution_controller.go index e2c0d62..dd45492 100644 --- a/workflow/controller/flow/flow_execution_controller.go +++ b/workflow/controller/flow/flow_execution_controller.go @@ -5,7 +5,7 @@ import ( flowService "ai-agent/workflow/service/flow" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type flowExecution struct{} diff --git a/workflow/controller/flow/flow_template_controller.go b/workflow/controller/flow/flow_template_controller.go index bf6f552..b482f47 100644 --- a/workflow/controller/flow/flow_template_controller.go +++ b/workflow/controller/flow/flow_template_controller.go @@ -5,7 +5,7 @@ import ( flowService "ai-agent/workflow/service/flow" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" ) diff --git a/workflow/controller/flow/flow_user_controller.go b/workflow/controller/flow/flow_user_controller.go index 8978b9a..02344f7 100644 --- a/workflow/controller/flow/flow_user_controller.go +++ b/workflow/controller/flow/flow_user_controller.go @@ -5,7 +5,7 @@ import ( flowService "ai-agent/workflow/service/flow" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" ) diff --git a/workflow/controller/node/node_prompt_controller.go b/workflow/controller/node/node_prompt_controller.go index c0af29e..0af8713 100644 --- a/workflow/controller/node/node_prompt_controller.go +++ b/workflow/controller/node/node_prompt_controller.go @@ -5,7 +5,7 @@ import ( nodeService "ai-agent/workflow/service/node" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type nodePrompt struct{} diff --git a/workflow/controller/skill/skill_template_controller.go b/workflow/controller/skill/skill_template_controller.go index b784151..5422710 100644 --- a/workflow/controller/skill/skill_template_controller.go +++ b/workflow/controller/skill/skill_template_controller.go @@ -5,7 +5,7 @@ import ( skillService "ai-agent/workflow/service/skill" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type skillTemplate struct{} diff --git a/workflow/controller/skill/skill_user_controller.go b/workflow/controller/skill/skill_user_controller.go index b78459f..d39d4ed 100644 --- a/workflow/controller/skill/skill_user_controller.go +++ b/workflow/controller/skill/skill_user_controller.go @@ -5,7 +5,7 @@ import ( skillService "ai-agent/workflow/service/skill" "context" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type skillUser struct{} diff --git a/workflow/dao/creation_info_dao.go b/workflow/dao/creation_info_dao.go index 0941ea6..155cc38 100644 --- a/workflow/dao/creation_info_dao.go +++ b/workflow/dao/creation_info_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/file/file_temp_dao.go b/workflow/dao/file/file_temp_dao.go index 6e75f67..e881c86 100644 --- a/workflow/dao/file/file_temp_dao.go +++ b/workflow/dao/file/file_temp_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/flow/flow_execution_dao.go b/workflow/dao/flow/flow_execution_dao.go index 1b1e595..78276df 100644 --- a/workflow/dao/flow/flow_execution_dao.go +++ b/workflow/dao/flow/flow_execution_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/flow/flow_template_dao.go b/workflow/dao/flow/flow_template_dao.go index 083a1c4..ab47b7f 100644 --- a/workflow/dao/flow/flow_template_dao.go +++ b/workflow/dao/flow/flow_template_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/flow/flow_user_dao.go b/workflow/dao/flow/flow_user_dao.go index afbb833..266eb00 100644 --- a/workflow/dao/flow/flow_user_dao.go +++ b/workflow/dao/flow/flow_user_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/node/node_execution_dao.go b/workflow/dao/node/node_execution_dao.go index 465555a..8933965 100644 --- a/workflow/dao/node/node_execution_dao.go +++ b/workflow/dao/node/node_execution_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" diff --git a/workflow/dao/node/node_prompt_dao.go b/workflow/dao/node/node_prompt_dao.go index ad883a7..507c23b 100644 --- a/workflow/dao/node/node_prompt_dao.go +++ b/workflow/dao/node/node_prompt_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/skill/skill_template_dao.go b/workflow/dao/skill/skill_template_dao.go index 4b462e2..636b76b 100644 --- a/workflow/dao/skill/skill_template_dao.go +++ b/workflow/dao/skill/skill_template_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/dao/skill/skill_user_dao.go b/workflow/dao/skill/skill_user_dao.go index bae4fcc..13b8029 100644 --- a/workflow/dao/skill/skill_user_dao.go +++ b/workflow/dao/skill/skill_user_dao.go @@ -6,7 +6,7 @@ import ( "ai-agent/workflow/model/entity" "context" - "gitea.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/model/dto/creation_info_dto.go b/workflow/model/dto/creation_info_dto.go index 02046fc..f38afa8 100644 --- a/workflow/model/dto/creation_info_dto.go +++ b/workflow/model/dto/creation_info_dto.go @@ -1,7 +1,7 @@ package dto import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/file/file_temp_dto.go b/workflow/model/dto/file/file_temp_dto.go index 3911b06..aca8a76 100644 --- a/workflow/model/dto/file/file_temp_dto.go +++ b/workflow/model/dto/file/file_temp_dto.go @@ -1,7 +1,7 @@ package file import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/flow/flow_execution_dto.go b/workflow/model/dto/flow/flow_execution_dto.go index 9d3dbea..6b8f628 100644 --- a/workflow/model/dto/flow/flow_execution_dto.go +++ b/workflow/model/dto/flow/flow_execution_dto.go @@ -5,7 +5,7 @@ import ( "ai-agent/workflow/consts/node" "ai-agent/workflow/model/entity" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/flow/flow_template_dto.go b/workflow/model/dto/flow/flow_template_dto.go index 123f5a9..c0dab1f 100644 --- a/workflow/model/dto/flow/flow_template_dto.go +++ b/workflow/model/dto/flow/flow_template_dto.go @@ -4,7 +4,7 @@ import ( "ai-agent/workflow/consts/flow" "ai-agent/workflow/model/entity" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/flow/flow_user_dto.go b/workflow/model/dto/flow/flow_user_dto.go index c290840..6dd450b 100644 --- a/workflow/model/dto/flow/flow_user_dto.go +++ b/workflow/model/dto/flow/flow_user_dto.go @@ -4,7 +4,7 @@ import ( "ai-agent/workflow/consts/flow" "ai-agent/workflow/model/entity" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/node/node_execution_dto.go b/workflow/model/dto/node/node_execution_dto.go index cb5c430..8811e65 100644 --- a/workflow/model/dto/node/node_execution_dto.go +++ b/workflow/model/dto/node/node_execution_dto.go @@ -5,7 +5,7 @@ import ( flowDto "ai-agent/workflow/model/dto/flow" "ai-agent/workflow/model/entity" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" ) diff --git a/workflow/model/dto/node/node_prompt_dto.go b/workflow/model/dto/node/node_prompt_dto.go index 63d0c5a..11664b1 100644 --- a/workflow/model/dto/node/node_prompt_dto.go +++ b/workflow/model/dto/node/node_prompt_dto.go @@ -4,7 +4,7 @@ import ( "ai-agent/workflow/consts/node" "ai-agent/workflow/model/entity" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" ) diff --git a/workflow/model/dto/pull/active_pull_dto.go b/workflow/model/dto/pull/active_pull_dto.go index 718b008..c02da83 100644 --- a/workflow/model/dto/pull/active_pull_dto.go +++ b/workflow/model/dto/pull/active_pull_dto.go @@ -4,7 +4,7 @@ import ( "ai-agent/workflow/consts/flow" "ai-agent/workflow/model/entity" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/skill/skill_template_dto.go b/workflow/model/dto/skill/skill_template_dto.go index 9b3e676..f5b00e7 100644 --- a/workflow/model/dto/skill/skill_template_dto.go +++ b/workflow/model/dto/skill/skill_template_dto.go @@ -1,7 +1,7 @@ package skill import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/dto/skill/skill_user_dto.go b/workflow/model/dto/skill/skill_user_dto.go index 04e4969..5b96515 100644 --- a/workflow/model/dto/skill/skill_user_dto.go +++ b/workflow/model/dto/skill/skill_user_dto.go @@ -1,7 +1,7 @@ package skill import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" ) diff --git a/workflow/model/entity/active_pull.go b/workflow/model/entity/active_pull.go index 992b66a..3c467d2 100644 --- a/workflow/model/entity/active_pull.go +++ b/workflow/model/entity/active_pull.go @@ -1,6 +1,6 @@ package entity -import "gitea.com/red-future/common/beans" +import "gitea.redpowerfuture.com/red-future/common/beans" type ActivePull struct { beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt diff --git a/workflow/model/entity/creation_info.go b/workflow/model/entity/creation_info.go index 72ebe24..7ddf627 100644 --- a/workflow/model/entity/creation_info.go +++ b/workflow/model/entity/creation_info.go @@ -1,6 +1,6 @@ package entity -import "gitea.com/red-future/common/beans" +import "gitea.redpowerfuture.com/red-future/common/beans" type CreationInfo struct { beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt diff --git a/workflow/model/entity/file_temp.go b/workflow/model/entity/file_temp.go index 6c8f4e8..ceff25e 100644 --- a/workflow/model/entity/file_temp.go +++ b/workflow/model/entity/file_temp.go @@ -1,7 +1,7 @@ package entity import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type FileTemp struct { diff --git a/workflow/model/entity/flow_execution.go b/workflow/model/entity/flow_execution.go index bf87c13..6f90b0e 100644 --- a/workflow/model/entity/flow_execution.go +++ b/workflow/model/entity/flow_execution.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/workflow/consts/flow" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type FlowExecution struct { diff --git a/workflow/model/entity/flow_template.go b/workflow/model/entity/flow_template.go index 68c5655..e206bf8 100644 --- a/workflow/model/entity/flow_template.go +++ b/workflow/model/entity/flow_template.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/workflow/consts/flow" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type FlowTemplate struct { diff --git a/workflow/model/entity/flow_user.go b/workflow/model/entity/flow_user.go index bde0c7a..4cb344f 100644 --- a/workflow/model/entity/flow_user.go +++ b/workflow/model/entity/flow_user.go @@ -4,7 +4,7 @@ import ( "ai-agent/workflow/consts/flow" "ai-agent/workflow/consts/node" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type FlowInfo struct { diff --git a/workflow/model/entity/node_execution.go b/workflow/model/entity/node_execution.go index 1f1e62d..f7db132 100644 --- a/workflow/model/entity/node_execution.go +++ b/workflow/model/entity/node_execution.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/workflow/consts/node" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) // NodeExecution 节点执行记录 diff --git a/workflow/model/entity/node_prompt.go b/workflow/model/entity/node_prompt.go index 9220ae5..197a522 100644 --- a/workflow/model/entity/node_prompt.go +++ b/workflow/model/entity/node_prompt.go @@ -3,7 +3,7 @@ package entity import ( "ai-agent/workflow/consts/node" - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type NodePrompt struct { diff --git a/workflow/model/entity/skill_template.go b/workflow/model/entity/skill_template.go index 38a60dc..0397140 100644 --- a/workflow/model/entity/skill_template.go +++ b/workflow/model/entity/skill_template.go @@ -1,7 +1,7 @@ package entity import ( - "gitea.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/beans" ) type SkillTemplate struct { diff --git a/workflow/model/entity/skill_user.go b/workflow/model/entity/skill_user.go index 0810a69..336538a 100644 --- a/workflow/model/entity/skill_user.go +++ b/workflow/model/entity/skill_user.go @@ -1,6 +1,6 @@ package entity -import "gitea.com/red-future/common/beans" +import "gitea.redpowerfuture.com/red-future/common/beans" type SkillUser struct { beans.SQLBaseDO `orm:",inherit"` // 嵌入基础字段:Id, TenantId, Creator, CreatedAt, Updater, UpdatedAt, DeletedAt diff --git a/workflow/service/creation_info_service.go b/workflow/service/creation_info_service.go index 2de532c..4138a23 100644 --- a/workflow/service/creation_info_service.go +++ b/workflow/service/creation_info_service.go @@ -9,7 +9,7 @@ import ( "fmt" "sort" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/service/einograph/lambda_func.go b/workflow/service/einograph/lambda_func.go index df19d25..10df44f 100644 --- a/workflow/service/einograph/lambda_func.go +++ b/workflow/service/einograph/lambda_func.go @@ -9,8 +9,8 @@ import ( "net/http" "strings" - commonHttp "gitea.com/red-future/common/http" - "gitea.com/red-future/common/utils" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/cloudwego/eino/schema" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/glog" diff --git a/workflow/service/flow/flow_execution_service.go b/workflow/service/flow/flow_execution_service.go index 616a47c..6de8a0e 100644 --- a/workflow/service/flow/flow_execution_service.go +++ b/workflow/service/flow/flow_execution_service.go @@ -19,7 +19,7 @@ import ( "sync" "time" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/cloudwego/eino/compose" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gtime" diff --git a/workflow/service/flow/flow_user_service.go b/workflow/service/flow/flow_user_service.go index eae620d..70abe26 100644 --- a/workflow/service/flow/flow_user_service.go +++ b/workflow/service/flow/flow_user_service.go @@ -9,8 +9,8 @@ import ( "ai-agent/workflow/service" "context" - "gitea.com/red-future/common/beans" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/service/flow/lambda_node.go b/workflow/service/flow/lambda_node.go index 2928158..93894a8 100644 --- a/workflow/service/flow/lambda_node.go +++ b/workflow/service/flow/lambda_node.go @@ -16,8 +16,8 @@ import ( "sync" "time" - "gitea.com/red-future/common/db/gfdb" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/db/gfdb" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/database/gdb" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" diff --git a/workflow/service/flow/lambda_node_imp.go b/workflow/service/flow/lambda_node_imp.go index dc1f429..55cc100 100644 --- a/workflow/service/flow/lambda_node_imp.go +++ b/workflow/service/flow/lambda_node_imp.go @@ -16,8 +16,8 @@ import ( "strings" "time" - commonHttp "gitea.com/red-future/common/http" - "gitea.com/red-future/common/utils" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/net/ghttp" "github.com/gogf/gf/v2/util/gconv" diff --git a/workflow/service/flow/lambda_node_util.go b/workflow/service/flow/lambda_node_util.go index 16688c7..9d72e9b 100644 --- a/workflow/service/flow/lambda_node_util.go +++ b/workflow/service/flow/lambda_node_util.go @@ -20,8 +20,8 @@ import ( "strings" "sync" - commonHttp "gitea.com/red-future/common/http" - "gitea.com/red-future/common/utils" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/errors/gerror" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" @@ -268,6 +268,10 @@ func GetModelResult(ctx context.Context, sessionId string, nodeInput *flowDto.No buildType = 3 } + if !nodeInput.Global.IsDialogue { + sessionId = "" + } + composeResult, err := GetComposeResult(ctx, buildType, nodeInput.Config.ModelConfig.ModelName, nodeInput.Config.PromptContent, skillName, form, userForm, nodeInput.Global.FileUrl, sessionId, nodeInput.Config.Id, nodeInput.Config.Name) if err != nil { return nil, err diff --git a/workflow/service/node/node_library_service.go b/workflow/service/node/node_library_service.go index 731af09..b47d4a7 100644 --- a/workflow/service/node/node_library_service.go +++ b/workflow/service/node/node_library_service.go @@ -6,8 +6,8 @@ import ( "context" "fmt" - "gitea.com/red-future/common/beans" - commonHttp "gitea.com/red-future/common/http" + "gitea.redpowerfuture.com/red-future/common/beans" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" "github.com/gogf/gf/v2/encoding/gjson" "github.com/gogf/gf/v2/frame/g" ) diff --git a/workflow/service/node/node_prompt_service.go b/workflow/service/node/node_prompt_service.go index 5bab90d..414a7b8 100644 --- a/workflow/service/node/node_prompt_service.go +++ b/workflow/service/node/node_prompt_service.go @@ -7,7 +7,7 @@ import ( "ai-agent/workflow/service" "context" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/frame/g" ) diff --git a/workflow/service/skill/skill_user_service.go b/workflow/service/skill/skill_user_service.go index 85b7138..3fd3602 100644 --- a/workflow/service/skill/skill_user_service.go +++ b/workflow/service/skill/skill_user_service.go @@ -10,8 +10,8 @@ import ( "path/filepath" "strings" - "gitea.com/red-future/common/beans" - "gitea.com/red-future/common/utils" + "gitea.redpowerfuture.com/red-future/common/beans" + "gitea.redpowerfuture.com/red-future/common/utils" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" ) diff --git a/workflow/service/util_service.go b/workflow/service/util_service.go index 08308ff..531b514 100644 --- a/workflow/service/util_service.go +++ b/workflow/service/util_service.go @@ -3,7 +3,7 @@ package service import ( "context" - commonHttp "gitea.com/red-future/common/http" + commonHttp "gitea.redpowerfuture.com/red-future/common/http" "github.com/gogf/gf/v2/frame/g" )