Skip to content

Commit 4bace2e

Browse files
authored
[fix][infra] dev/debug wait err (#16)
* fix(infra): debug wait & model_example conf * fix(evaluation): expt statistic save err
1 parent 0fcad62 commit 4bace2e

21 files changed

Lines changed: 889 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ compose%:
8080
-f $(DOCKER_COMPOSE_DIR)/docker-compose-dev.yml \
8181
--env-file $(DOCKER_COMPOSE_DIR)/.env \
8282
--profile "*" \
83-
up --build --wait ;; \
83+
up --build ;; \
8484
-restart-dev-*) \
8585
svc="$*"; \
8686
svc="$${svc#-restart-dev-}"; \
@@ -109,7 +109,7 @@ compose%:
109109
-f $(DOCKER_COMPOSE_DIR)/docker-compose-debug.yml \
110110
--env-file $(DOCKER_COMPOSE_DIR)/.env \
111111
--profile "*" \
112-
up --build --wait ;; \
112+
up --build ;; \
113113
-restart-debug-*) \
114114
svc="$*"; \
115115
svc="$${svc#-restart-debug-}"; \

backend/modules/evaluation/domain/entity/expt_result.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ type ExptStats struct {
184184
CreditCost float64
185185
InputTokenCost int64
186186
OutputTokenCost int64
187+
CreatedAt time.Time
188+
UpdatedAt time.Time
187189
}
188190

189191
type ExptTurnResult struct {

backend/modules/evaluation/infra/repo/experiment/mysql/convert/expt_stats.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ func (ExptStatsConverter) DO2PO(stats *entity.ExptStats) *model.ExptStats {
2929
CreditCost: stats.CreditCost,
3030
InputTokenCost: gptr.Of(stats.InputTokenCost),
3131
OutputTokenCost: gptr.Of(stats.OutputTokenCost),
32+
CreatedAt: stats.CreatedAt,
33+
UpdatedAt: stats.UpdatedAt,
3234
}
3335
}
3436

@@ -45,5 +47,7 @@ func (ExptStatsConverter) PO2DO(stats *model.ExptStats) *entity.ExptStats {
4547
CreditCost: stats.CreditCost,
4648
InputTokenCost: gptr.Indirect(stats.InputTokenCost),
4749
OutputTokenCost: gptr.Indirect(stats.OutputTokenCost),
50+
CreatedAt: stats.CreatedAt,
51+
UpdatedAt: stats.UpdatedAt,
4852
}
4953
}

conf/default/app/model_config_example/ark.yaml renamed to release/deployment/docker-compose/conf/model_config_example/ark.yaml

File renamed without changes.

conf/default/app/model_config_example/arkbot.yaml renamed to release/deployment/docker-compose/conf/model_config_example/arkbot.yaml

File renamed without changes.

conf/default/app/model_config_example/claude.yaml renamed to release/deployment/docker-compose/conf/model_config_example/claude.yaml

File renamed without changes.

conf/default/app/model_config_example/deepseek.yaml renamed to release/deployment/docker-compose/conf/model_config_example/deepseek.yaml

File renamed without changes.

conf/default/app/model_config_example/gemini.yaml renamed to release/deployment/docker-compose/conf/model_config_example/gemini.yaml

File renamed without changes.

conf/default/app/model_config_example/ollama.yaml renamed to release/deployment/docker-compose/conf/model_config_example/ollama.yaml

File renamed without changes.

conf/default/app/model_config_example/openai.yaml renamed to release/deployment/docker-compose/conf/model_config_example/openai.yaml

File renamed without changes.

0 commit comments

Comments
 (0)