Chore: cleaning

This commit is contained in:
Grail Finder
2025-08-08 15:47:29 +03:00
parent 6600cf8034
commit 9e2165e056
3 changed files with 25 additions and 25 deletions

View File

@@ -1 +0,0 @@
package main

View File

@@ -13,30 +13,30 @@ type Answer struct {
// resp time? // resp time?
} }
type OpenRouterResp struct { // type OpenRouterResp struct {
ID string `json:"id"` // ID string `json:"id"`
Provider string `json:"provider"` // Provider string `json:"provider"`
Model string `json:"model"` // Model string `json:"model"`
Object string `json:"object"` // Object string `json:"object"`
Created int `json:"created"` // Created int `json:"created"`
Choices []struct { // Choices []struct {
Logprobs any `json:"logprobs"` // Logprobs any `json:"logprobs"`
FinishReason string `json:"finish_reason"` // FinishReason string `json:"finish_reason"`
NativeFinishReason string `json:"native_finish_reason"` // NativeFinishReason string `json:"native_finish_reason"`
Index int `json:"index"` // Index int `json:"index"`
Message struct { // Message struct {
Role string `json:"role"` // Role string `json:"role"`
Content string `json:"content"` // Content string `json:"content"`
Refusal any `json:"refusal"` // Refusal any `json:"refusal"`
Reasoning any `json:"reasoning"` // Reasoning any `json:"reasoning"`
} `json:"message"` // } `json:"message"`
} `json:"choices"` // } `json:"choices"`
Usage struct { // Usage struct {
PromptTokens int `json:"prompt_tokens"` // PromptTokens int `json:"prompt_tokens"`
CompletionTokens int `json:"completion_tokens"` // CompletionTokens int `json:"completion_tokens"`
TotalTokens int `json:"total_tokens"` // TotalTokens int `json:"total_tokens"`
} `json:"usage"` // } `json:"usage"`
} // }
type DSResp struct { type DSResp struct {
ID string `json:"id"` ID string `json:"id"`

View File

@@ -54,6 +54,7 @@ func (p *deepSeekParser) MakePayload(prompt string) io.Reader {
"stream_options": null, "stream_options": null,
"suffix": null, "suffix": null,
"temperature": 1, "temperature": 1,
"n_probs": 10,
"top_p": 1 "top_p": 1
}`, prompt)) }`, prompt))
} }