Skip to content

Commit 7d12c5e

Browse files
committed
docs: improve platform documentation and API handling
- Add comments describing different AI platforms in the `platform.go` file Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 4d02d6e commit 7d12c5e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

core/platform.go

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
package core
22

3+
// Platform represents a type for different AI platforms.
34
type Platform string
45

56
const (
6-
OpenAI Platform = "openai"
7-
Azure Platform = "azure"
8-
Gemini Platform = "gemini"
7+
// OpenAI represents the OpenAI platform.
8+
OpenAI Platform = "openai"
9+
// Azure represents the Azure platform.
10+
Azure Platform = "azure"
11+
// Gemini represents the Gemini platform.
12+
Gemini Platform = "gemini"
13+
// Anthropic represents the Anthropic platform.
914
Anthropic Platform = "anthropic"
1015
)
1116

0 commit comments

Comments
 (0)