fix(conversation): update response creation key for clarity and remove stream creation key
This commit is contained in:
parent
fd67e481ec
commit
308ed58467
1 changed files with 2 additions and 2 deletions
|
|
@ -416,8 +416,8 @@ export function ConversationTimeline(props: ConversationTimelineProps) {
|
|||
typeof request?.model === 'string' ? { key: 'Model', value: request.model } : null,
|
||||
request?.temperature !== undefined ? { key: 'Temp', value: String(request.temperature) } : null,
|
||||
typeof stream?.model === 'string' && stream.model !== request?.model ? { key: 'Response Model', value: stream.model } : null,
|
||||
typeof response?.created === 'number' ? { key: 'Created', value: String(response.created) } : null,
|
||||
typeof stream?.created === 'number' ? { key: 'Created', value: String(stream.created) } : null,
|
||||
typeof response?.created === 'number' ? { key: 'Res. Created', value: String(response.created) } : null,
|
||||
// typeof stream?.created === 'number' ? { key: 'Stream Created', value: String(stream.created) } : null,
|
||||
responseUsage?.prompt_tokens !== undefined ? { key: 'Prompt', value: String(responseUsage.prompt_tokens) } : null,
|
||||
responseUsage?.completion_tokens !== undefined ? { key: 'Completion', value: String(responseUsage.completion_tokens) } : null,
|
||||
responseUsage?.total_tokens !== undefined ? { key: 'Total', value: String(responseUsage.total_tokens) } : null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue