Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aurora-develop/aurora
/ chatGPTRequestForTest
Function
chatGPTRequestForTest
internal/chatgpt/request_test.go:871–873 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
869
}
870
871
func
chatGPTRequestForTest() chatgpt.ChatGPTRequest {
872
return
chatgpt.NewChatGPTRequest()
873
}
874
875
func
parseSSEChunks(t *testing.T, output string) []
map
[string]
interface
{} {
876
t.Helper()
Callers
15
TestHandlerStreamsPatchEvents
Function · 0.85
TestHandlerStreamsOpenAIChunksAndSentinel
Function · 0.85
TestHandlerStreamsConcatenatedOpenAIChunks
Function · 0.85
TestHandlerStreamsShortDeltaEncoding
Function · 0.85
TestHandlerCollectsPatchEventsWithoutStreaming
Function · 0.85
TestHandlerDetailedCollectsOpenAIChunkMetadataWithoutStreaming
Function · 0.85
TestHandlerDetailedDoesNotMarkStopWhenUpstreamOnlySendsDone
Function · 0.85
TestGetConduitTokenAllowsNullToken
Function · 0.85
TestPrepareConversationConduitDoesNotUseSentinelHeaders
Function · 0.85
TestPrepareConversationConduitFullChainsThreeStates
Function · 0.85
TestPrepareConversationConduitFullFailsFastOnStep1
Function · 0.85
TestPrepareConversationConduitFullFailsFastOnStep2
Function · 0.85
Calls
1
NewChatGPTRequest
Function · 0.92
Tested by
no test coverage detected