Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

387 B
Raw Blame
package app

import (
	"net/http"

	"github.com/gin-gonic/gin"
)

func (a *App) listVoiceLiveTasksRoute(c *gin.Context) {
	voiceSessionID := c.Param("voiceSessionId")
	response, err := a.voice.LiveTasks(c.Request.Context(), voiceSessionID)
	if a.writeVoiceLiveError(c, "read live Voice tasks", err) {
		return
	}
	c.Header("Cache-Control", "no-store")
	c.JSON(http.StatusOK, response)
}