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: support replicate chat models #1989

Merged
merged 2 commits into from
Dec 21, 2024

feat: support llm chat on replicate

48e8b6b
Select commit
Loading
Failed to load commit list.
Merged

feat: support replicate chat models #1989

feat: support llm chat on replicate
48e8b6b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Dec 19, 2024 in 1s

0.47% of diff hit (target 1.21%)

View this Pull Request on Codecov

0.47% of diff hit (target 1.21%)

Annotations

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 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 11 in relay/adaptor/openai/helper.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/openai/helper.go#L11

Added line #L11 was not covered by tests

Check warning on line 14 in relay/adaptor/openai/helper.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/openai/helper.go#L14

Added line #L14 was not covered by tests

Check warning on line 13 in relay/adaptor/openai/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/openai/util.go#L12-L13

Added lines #L12 - L13 were not covered by tests

Check warning on line 39 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L26-L39

Added lines #L26 - L39 were not covered by tests

Check warning on line 46 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L42-L46

Added lines #L42 - L46 were not covered by tests

Check warning on line 57 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L49-L57

Added lines #L49 - L57 were not covered by tests

Check warning on line 89 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L61-L89

Added lines #L61 - L89 were not covered by tests

Check warning on line 91 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L91

Added line #L91 was not covered by tests

Check warning on line 95 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 101 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L98-L101

Added lines #L98 - L101 were not covered by tests

Check warning on line 103 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L103

Added line #L103 was not covered by tests

Check warning on line 109 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L106-L109

Added lines #L106 - L109 were not covered by tests

Check warning on line 114 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L112-L114

Added lines #L112 - L114 were not covered by tests

Check warning on line 124 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L117-L124

Added lines #L117 - L124 were not covered by tests

Check warning on line 127 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L127

Added line #L127 was not covered by tests

Check warning on line 131 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L130-L131

Added lines #L130 - L131 were not covered by tests

Check warning on line 135 in relay/adaptor/replicate/adaptor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/adaptor.go#L134-L135

Added lines #L134 - L135 were not covered by tests

Check warning on line 28 in relay/adaptor/replicate/chat.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/chat.go#L21-L28

Added lines #L21 - L28 were not covered by tests

Check warning on line 33 in relay/adaptor/replicate/chat.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/chat.go#L30-L33

Added lines #L30 - L33 were not covered by tests

Check warning on line 38 in relay/adaptor/replicate/chat.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/chat.go#L35-L38

Added lines #L35 - L38 were not covered by tests

Check warning on line 47 in relay/adaptor/replicate/chat.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/chat.go#L40-L47

Added lines #L40 - L47 were not covered by tests

Check warning on line 60 in relay/adaptor/replicate/chat.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

relay/adaptor/replicate/chat.go#L49-L60

Added lines #L49 - L60 were not covered by tests