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: Service Wiring / Concurrency pt 1 [OLD] #2392

Closed
wants to merge 22 commits into from

Conversation

dave-gray101
Copy link
Collaborator

@dave-gray101 dave-gray101 commented May 23, 2024

Keeping this around for my reference another day or two, but I think that #2474 should be preferred to reduce history / the middleware approach is absolutely better.

This PR is the start of transitioning our core services to the core/application.go \ core/startup model.
In order to keep things reviewable, this PR will have a limited scope - rather than moving everything at once, my goal is to select services that are covered by existing tests for the detection of regressions. Therefore, this PR contains the following components:

  • Finishes up service wiring infrastructure in core/startup
  • pkg/concurrency - basic JobResult structure
  • Port over TTS Endpoints to TextToSpeechBackendService
  • Port over Embedding Endpoint to EmbeddingBackendService

Copy link

netlify bot commented May 23, 2024

Deploy Preview for localai canceled.

Name Link
🔨 Latest commit 1113498
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/665df00146ae0100082163f4

@dave-gray101 dave-gray101 enabled auto-merge (squash) May 24, 2024 02:24
@dave-gray101 dave-gray101 requested a review from mudler May 24, 2024 02:24
@dave-gray101 dave-gray101 requested a review from cryptk May 30, 2024 14:33
@dave-gray101 dave-gray101 changed the title refactor: Service Wiring / Concurrency pt 1 refactor: Service Wiring / Concurrency pt 1 [OLD] Jun 3, 2024
auto-merge was automatically disabled July 16, 2024 14:32

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant