浏览代码

api: fix typo in python ClientFromEnvironment docs (#7604)

Evan 5 月之前
父节点
当前提交
76b2b723b2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/client.go

+ 1 - 1
api/client.go

@@ -55,7 +55,7 @@ func checkError(resp *http.Response, body []byte) error {
 
 // ClientFromEnvironment creates a new [Client] using configuration from the
 // environment variable OLLAMA_HOST, which points to the network host and
-// port on which the ollama service is listenting. The format of this variable
+// port on which the ollama service is listening. The format of this variable
 // is:
 //
 //	<scheme>://<host>:<port>