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

refactor: use goroutinue instead of mutex to sync messages #842

Merged
merged 25 commits into from
Jun 28, 2024

feat: support OPENAI_BASE_URL environment

68a4399
Select commit
Loading
Failed to load commit list.
Merged

refactor: use goroutinue instead of mutex to sync messages #842

feat: support OPENAI_BASE_URL environment
68a4399
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 27, 2024 in 1s

73.90% of diff hit (target 64.93%)

View this Pull Request on Codecov

73.90% of diff hit (target 64.93%)

Annotations

Check warning on line 26 in pkg/bridge/ai/ai.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/ai.go#L26

Added line #L26 was not covered by tests

Check warning on line 56 in pkg/bridge/ai/ai.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/ai.go#L55-L56

Added lines #L55 - L56 were not covered by tests

Check warning on line 61 in pkg/bridge/ai/ai.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/ai.go#L60-L61

Added lines #L60 - L61 were not covered by tests

Check warning on line 42 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L41-L42

Added lines #L41 - L42 were not covered by tests

Check warning on line 46 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L46

Added line #L46 was not covered by tests

Check warning on line 52 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L51-L52

Added lines #L51 - L52 were not covered by tests

Check warning on line 69 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L68-L69

Added lines #L68 - L69 were not covered by tests

Check warning on line 71 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L71

Added line #L71 was not covered by tests

Check warning on line 77 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L73-L77

Added lines #L73 - L77 were not covered by tests

Check warning on line 80 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L80

Added line #L80 was not covered by tests

Check warning on line 86 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 94 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L94

Added line #L94 was not covered by tests

Check warning on line 99 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L96-L99

Added lines #L96 - L99 were not covered by tests

Check warning on line 159 in pkg/bridge/ai/api_server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/api_server.go#L157-L159

Added lines #L157 - L159 were not covered by tests

Check warning on line 82 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L82

Added line #L82 was not covered by tests

Check warning on line 103 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 143 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L142-L143

Added lines #L142 - L143 were not covered by tests

Check warning on line 158 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L158

Added line #L158 was not covered by tests

Check warning on line 162 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L162

Added line #L162 was not covered by tests

Check warning on line 185 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L185

Added line #L185 was not covered by tests

Check warning on line 199 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L198-L199

Added lines #L198 - L199 were not covered by tests

Check warning on line 215 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L215

Added line #L215 was not covered by tests

Check warning on line 219 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L218-L219

Added lines #L218 - L219 were not covered by tests

Check warning on line 234 in pkg/bridge/ai/call_syncer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/call_syncer.go#L232-L234

Added lines #L232 - L234 were not covered by tests

Check warning on line 45 in pkg/bridge/ai/caller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/bridge/ai/caller.go#L44-L45

Added lines #L44 - L45 were not covered by tests