MCPcopy Create free account
hub / github.com/coder/coder / anthropicEffortFromChat

Function anthropicEffortFromChat

coderd/x/chatd/chatprovider/chatprovider.go:1521–1528  ·  view source on GitHub ↗
(value *string)

Source from the content-addressed store, hash-verified

1519}
1520
1521func anthropicEffortFromChat(value *string) *fantasyanthropic.Effort {
1522 effort := ReasoningEffortFromChat(fantasyanthropic.Name, value)
1523 if effort == nil {
1524 return nil
1525 }
1526 valueCopy := fantasyanthropic.Effort(*effort)
1527 return &valueCopy
1528}
1529
1530func openRouterReasoningEffortFromChat(value *string) *fantasyopenrouter.ReasoningEffort {
1531 effort := ReasoningEffortFromChat(fantasyopenrouter.Name, value)

Calls 1

ReasoningEffortFromChatFunction · 0.70

Tested by

no test coverage detected