From f40e04a761fb582dee43630a54bb02046e76ea99 Mon Sep 17 00:00:00 2001 From: Ram Rachum Date: Wed, 20 Dec 2023 23:09:42 +0200 Subject: [PATCH] Add shebangs to all example scripts --- examples/async_chat_no_streaming.py | 2 ++ examples/async_chat_with_streaming.py | 2 ++ examples/async_embeddings.py | 2 ++ examples/async_list_models.py | 2 ++ examples/chat_no_streaming.py | 2 ++ examples/chat_with_streaming.py | 2 ++ examples/embeddings.py | 2 ++ examples/list_models.py | 2 ++ 8 files changed, 16 insertions(+) diff --git a/examples/async_chat_no_streaming.py b/examples/async_chat_no_streaming.py index 9c8be87..0eef8c3 100644 --- a/examples/async_chat_no_streaming.py +++ b/examples/async_chat_no_streaming.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import asyncio import os diff --git a/examples/async_chat_with_streaming.py b/examples/async_chat_with_streaming.py index e239e03..1de9e74 100644 --- a/examples/async_chat_with_streaming.py +++ b/examples/async_chat_with_streaming.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import asyncio import os diff --git a/examples/async_embeddings.py b/examples/async_embeddings.py index 0abaa13..a7ecd47 100644 --- a/examples/async_embeddings.py +++ b/examples/async_embeddings.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import asyncio import os diff --git a/examples/async_list_models.py b/examples/async_list_models.py index da9fc44..b6de5d5 100644 --- a/examples/async_list_models.py +++ b/examples/async_list_models.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import asyncio import os diff --git a/examples/chat_no_streaming.py b/examples/chat_no_streaming.py index e385773..797b58d 100644 --- a/examples/chat_no_streaming.py +++ b/examples/chat_no_streaming.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import os from mistralai.client import MistralClient diff --git a/examples/chat_with_streaming.py b/examples/chat_with_streaming.py index 21a12c1..bc818d3 100644 --- a/examples/chat_with_streaming.py +++ b/examples/chat_with_streaming.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import os from mistralai.client import MistralClient diff --git a/examples/embeddings.py b/examples/embeddings.py index 7d9dd2e..ffde00a 100644 --- a/examples/embeddings.py +++ b/examples/embeddings.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import os from mistralai.client import MistralClient diff --git a/examples/list_models.py b/examples/list_models.py index 9b5325a..b21dcd1 100644 --- a/examples/list_models.py +++ b/examples/list_models.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import os from mistralai.client import MistralClient