Skip to content

Commit a787251

Browse files
committed
Remove unused struct & field
1 parent 68ce62d commit a787251

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

cmd/eval/eval.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ type EvaluationResult struct {
4848
Details string `json:"details,omitempty"`
4949
}
5050

51-
type Organization struct {
52-
Name string `json:"name"`
53-
}
54-
5551
var FailedTests = errors.New("❌ Some tests failed.")
5652

5753
// NewEvalCommand returns a new command to evaluate prompts against models

internal/azuremodels/types.go

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,12 @@ type ChatMessage struct {
2626

2727
// ChatCompletionOptions represents available options for a chat completion request.
2828
type ChatCompletionOptions struct {
29-
MaxTokens *int `json:"max_tokens,omitempty"`
30-
Messages []ChatMessage `json:"messages"`
31-
Model string `json:"model"`
32-
Stream bool `json:"stream,omitempty"`
33-
Temperature *float64 `json:"temperature,omitempty"`
34-
TopP *float64 `json:"top_p,omitempty"`
35-
Organization *string `json:"organization,omitempty"`
29+
MaxTokens *int `json:"max_tokens,omitempty"`
30+
Messages []ChatMessage `json:"messages"`
31+
Model string `json:"model"`
32+
Stream bool `json:"stream,omitempty"`
33+
Temperature *float64 `json:"temperature,omitempty"`
34+
TopP *float64 `json:"top_p,omitempty"`
3635
}
3736

3837
// ChatChoiceMessage is a message from a choice in a chat conversation.

0 commit comments

Comments
 (0)