add openai
This commit is contained in:
10
README.md
10
README.md
@ -27,7 +27,13 @@ $ ollama run syui/ai
|
||||
|
||||
```sh
|
||||
$ cargo build
|
||||
$ ./target/debug/aigpt mcp setup
|
||||
$ ./target/debug/aigpt mcp chat "hello world!" --host http://localhost:11434 --model syui/ai
|
||||
$ ./aigpt mcp setup
|
||||
$ ./aigpt mcp chat "hello world!"
|
||||
$ ./aigpt mcp chat "hello world!" --host http://localhost:11434 --model syui/ai
|
||||
|
||||
---
|
||||
# openai api
|
||||
$ ./aigpt mcp set-api -api sk-abc123
|
||||
$ ./aigpt mcp chat "こんにちは" -p openai -m gpt-4o-mini
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user