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

WIP: realtime API stub #3722

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

WIP: realtime API stub #3722

wants to merge 4 commits into from

Conversation

mudler
Copy link
Owner

@mudler mudler commented Oct 3, 2024

Description

This PR fixes #3714

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit a20af24
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/67141fa3bc56d70008fe07ca
😎 Deploy Preview https://deploy-preview-3722--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mudler mudler force-pushed the feat/realtime branch 3 times, most recently from 5435a07 to 2db3f3d Compare October 9, 2024 10:57
Copy link

github-actions bot commented Oct 9, 2024

yamllint Failed

Show Output
::group::gallery/arch-function.yaml
::error file=gallery/arch-function.yaml,line=66,col=22::66:22 [new-line-at-end-of-file] no new line character at the end of file
::endgroup::

Workflow: Yamllint GitHub Actions, Action: __karancode_yamllint-github-action, Lint: gallery

@mudler
Copy link
Owner Author

mudler commented Oct 14, 2024

Just for reference, openai-realtime-console seems quite nice for testing things out especially at this stage, I've opened up a PR upstream to include a Dockerfile and instructions on how to use it with a local server: openai/openai-realtime-console#59

app.Use(func(c *fiber.Ctx) error {
if websocket.IsWebSocketUpgrade(c) {
// Returns true if the client requested upgrade to the WebSocket protocol
c.Next()

Check warning

Code scanning / Golang security checks by gosec

Errors unhandled. Warning

Errors unhandled.
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
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.

Add support for realtime API
1 participant