Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Introduce generic top level handler #93

Closed
lukehinds opened this issue Nov 26, 2024 · 1 comment · Fixed by #96 or #91
Closed

Introduce generic top level handler #93

lukehinds opened this issue Nov 26, 2024 · 1 comment · Fixed by #96 or #91
Assignees

Comments

@lukehinds
Copy link

lukehinds commented Nov 26, 2024

Right now we bind providers directly to an provider interface, but this may be problematic when we have more than one provider wanting access to the same endpoint (e.g. /chat/completions)

@lukehinds
Copy link
Author

Upon discussion we will use the $provider name in the URL .e.g. localhost:8989/openai/chat/completions, we can then route accordingly within codegate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.