Skip to main content
Glama
flow_runner.go500 B
package runner import ( "lunar/engine/streams" streamconfig "lunar/engine/streams/config" "github.com/rs/zerolog/log" publictypes "lunar/engine/streams/public-types" ) func RunFlow( stream *streams.Stream, apiStream publictypes.APIStreamI, actions *streamconfig.StreamActions, ) error { err := stream.ExecuteFlow(apiStream, actions) if err != nil { log.Error().Err(err).Msgf("Failed to execute %v flow %v", apiStream.GetType(), apiStream.GetName()) return err } return nil }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheLunarCompany/lunar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server