MCPcopy Index your code
hub / github.com/coder/coder / decodeProposePlanResponse

Function decodeProposePlanResponse

coderd/x/chatd/chattool/proposeplan_test.go:648–654  ·  view source on GitHub ↗
(t *testing.T, resp fantasy.ToolResponse)

Source from the content-addressed store, hash-verified

646}
647
648func decodeProposePlanResponse(t *testing.T, resp fantasy.ToolResponse) proposePlanResponse {
649 t.Helper()
650
651 var result proposePlanResponse
652 require.NoError(t, json.Unmarshal([]byte(resp.Content), &result))
653 return result
654}

Callers 1

TestProposePlanFunction · 0.85

Calls 2

HelperMethod · 0.65
UnmarshalMethod · 0.45

Tested by

no test coverage detected