MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / StreamChat

Method StreamChat

api/client.go:41–41  ·  view source on GitHub ↗
(
		ctx context.Context,
		systemPrompt string,
		messages []map[string]any,
		tools []map[string]any,
		options *LLMRequestOptions,
	)

Source from the content-addressed store, hash-verified

39 seconds := int(e.Timeout.Round(time.Second) / time.Second)
40 if seconds <= 0 {
41 return "API stream idle timeout waiting for SSE data"
42 }
43 return fmt.Sprintf("API stream idle timeout after %ds waiting for SSE data", seconds)
44}

Implementers 3

AnthropicClientapi/client.go
Clientapi/client.go

Calls

no outgoing calls