You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+4-10Lines changed: 4 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -68,28 +68,22 @@ completion:
68
68
--prompt "Hello, how are you?"\
69
69
--max-tokens 50
70
70
71
-
chat-og-evm:
71
+
chat:
72
72
python -m opengradient.cli chat \
73
73
--model $(MODEL)\
74
74
--messages '[{"role":"user","content":"Tell me a fun fact"}]'\
75
-
--max-tokens 150 --network og-evm
76
-
77
-
chat-base-testnet:
78
-
python -m opengradient.cli chat \
79
-
--model $(MODEL)\
80
-
--messages '[{"role":"user","content":"Tell me a fun fact"}]'\
81
-
--max-tokens 150 --network base-testnet
75
+
--max-tokens 150
82
76
83
77
chat-stream:
84
78
python -m opengradient.cli chat \
85
-
--model $(MODEL)--mode TEE \
79
+
--model $(MODEL)\
86
80
--messages '[{"role":"user","content":"Tell me a short story"}]'\
87
81
--max-tokens 250 \
88
82
--stream
89
83
90
84
chat-tool:
91
85
python -m opengradient.cli chat \
92
-
--model $(MODEL)--mode TEE \
86
+
--model $(MODEL)\
93
87
--messages '[{"role":"user","content":"What is the weather in Tokyo?"}]'\
94
88
--tools '[{"type":"function","function":{"name":"get_weather","description":"Get weather for a location","parameters":{"type":"object","properties":{"location":{"type":"string"},"unit":{"type":"string","enum":["celsius","fahrenheit"]}},"required":["location"]}}}]'\
0 commit comments