Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ ptr
Function
ptr
coderd/x/chatd/chatopenai/options_test.go:468–470 ·
view source on GitHub ↗
(value T)
Source
from the content-addressed store, hash-verified
466
}
467
468
func
ptr[T any](value T) *T {
469
return
&value
470
}
471
472
type
fakeLanguageModel
struct
{
473
provider string
Callers
5
TestProviderOptionsFromChatConfigLegacy
Function · 0.70
TestProviderOptionsFromChatConfigResponses
Function · 0.70
TestTextVerbosityFromChat
Function · 0.70
TestReasoningEffortFromChat
Function · 0.70
TestServiceTierFromChat
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected