Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: image edits/inpaiting 支持 replicate 的 flux remix #1986

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

test: enhance OpenaiImageEditRequest test with image and mask creation

d2bc9eb
Select commit
Loading
Failed to load commit list.
Open

feat: image edits/inpaiting 支持 replicate 的 flux remix #1986

test: enhance OpenaiImageEditRequest test with image and mask creation
d2bc9eb
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Dec 29, 2024 in 1s

12.88% of diff hit (target 1.21%)

View this Pull Request on Codecov

12.88% of diff hit (target 1.21%)

Annotations

Check warning on line 17 in common/gin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/gin.go#L15-L17

Added lines #L15 - L17 were not covered by tests

Check warning on line 19 in common/gin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/gin.go#L19

Added line #L19 was not covered by tests

Check warning on line 26 in common/gin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/gin.go#L25-L26

Added lines #L25 - L26 were not covered by tests

Check warning on line 38 in common/gin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/gin.go#L36-L38

Added lines #L36 - L38 were not covered by tests

Check warning on line 42 in common/gin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/gin.go#L42

Added line #L42 was not covered by tests

Check warning on line 45 in common/gin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/gin.go#L45

Added line #L45 was not covered by tests

Check warning on line 48 in common/gin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/gin.go#L48

Added line #L48 was not covered by tests

Check warning on line 52 in common/gin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

common/gin.go#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 30 in controller/relay.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/relay.go#L30

Added line #L30 was not covered by tests

Check warning on line 60 in controller/relay.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/relay.go#L60

Added line #L60 was not covered by tests

Check warning on line 87 in controller/relay.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/relay.go#L87

Added line #L87 was not covered by tests

Check warning on line 125 in controller/relay.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

controller/relay.go#L125

Added line #L125 was not covered by tests

Check warning on line 67 in middleware/distributor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

middleware/distributor.go#L67

Added line #L67 was not covered by tests

Check warning on line 28 in middleware/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

middleware/utils.go#L28

Added line #L28 was not covered by tests

Check warning on line 32 in middleware/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

middleware/utils.go#L31-L32

Added lines #L31 - L32 were not covered by tests

Check warning on line 36 in middleware/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

middleware/utils.go#L36

Added line #L36 was not covered by tests

Check warning on line 41 in middleware/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

middleware/utils.go#L41

Added line #L41 was not covered by tests

Check warning on line 46 in middleware/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

middleware/utils.go#L46

Added line #L46 was not covered by tests

Check warning on line 37 in monitor/manage.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

monitor/manage.go#L37

Added line #L37 was not covered by tests

Check warning on line 34 in relay/adaptor/common.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/common.go#L33-L34

Added lines #L33 - L34 were not covered by tests

Check warning on line 35 in relay/adaptor/ollama/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/ollama/main.go#L34-L35

Added lines #L34 - L35 were not covered by tests

Check warning on line 125 in relay/adaptor/ollama/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/ollama/main.go#L125

Added line #L125 was not covered by tests

Check warning on line 115 in relay/adaptor/openai/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/openai/adaptor.go#L114-L115

Added lines #L114 - L115 were not covered by tests

Check warning on line 20 in relay/adaptor/openai/image.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/openai/image.go#L16-L20

Added lines #L16 - L20 were not covered by tests

Check warning on line 27 in relay/adaptor/openai/image.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/openai/image.go#L22-L27

Added lines #L22 - L27 were not covered by tests