Feat Implement assistants API #949
Annotations
8 errors and 11 warnings
Sanity check:
fine_tunes.go#L118
string `/fine-tunes/` has 3 occurrences, make it a constant (goconst)
|
Sanity check:
assistant_test.go#L87
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Sanity check:
assistant.go#L138
Comment should end in a period (godot)
|
Sanity check:
assistant.go#L224
Comment should end in a period (godot)
|
Sanity check:
assistant_test.go#L22
line is 130 characters (lll)
|
Sanity check:
assistant_test.go#L203
unnecessary trailing newline (whitespace)
|
Sanity check:
assistant_test.go#L126
unnecessary leading newline (whitespace)
|
Sanity check
issues found
|
Sanity check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Sanity check:
jsonschema/json_test.go#L8
dot-imports: should not use dot imports (revive)
|
Sanity check:
fine_tuning_job_test.go#L6
dot-imports: should not use dot imports (revive)
|
Sanity check:
audio_api_test.go#L15
dot-imports: should not use dot imports (revive)
|
Sanity check:
completion_test.go#L4
dot-imports: should not use dot imports (revive)
|
Sanity check:
config_test.go#L6
dot-imports: should not use dot imports (revive)
|
Sanity check:
chat_stream_test.go#L13
dot-imports: should not use dot imports (revive)
|
Sanity check:
files_api_test.go#L15
dot-imports: should not use dot imports (revive)
|
Sanity check:
image_api_test.go#L4
dot-imports: should not use dot imports (revive)
|
Sanity check:
edits_test.go#L4
dot-imports: should not use dot imports (revive)
|
Sanity check:
embeddings_test.go#L14
dot-imports: should not use dot imports (revive)
|