MCPcopy Create free account
hub / github.com/codehamr/codehamr / firstLine

Function firstLine

internal/llm/llm.go:632–637  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

630 slots[tc.Index] = slot
631 *order = append(*order, tc.Index)
632 }
633 // id/name usually arrive in the first fragment, but updating on any
634 // non-empty value tolerates a provider that ships them later;
635 // otherwise an empty tool_call_id round-trips into history and the
636 // next /v1 request 400s on the unpaired tool message.
637 if tc.ID != "" {
638 slot.id = tc.ID
639 }
640 if tc.Function.Name != "" {

Callers 1

errorMessageFromBodyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected