diff --git a/docs/docs/apis-model-management/list-library-models.md b/docs/docs/apis-model-management/list-library-models.md
index 25aa5945..cdb9525b 100644
--- a/docs/docs/apis-model-management/list-library-models.md
+++ b/docs/docs/apis-model-management/list-library-models.md
@@ -11,26 +11,11 @@ These API retrieves a list of models directly from the Ollama library.
This API fetches available models from the Ollama library page, including details such as the model's name, pull count,
popular tags, tag count, and the last update time.
-```java title="ListLibraryModels.java"
-import io.github.ollama4j.OllamaAPI;
-import io.github.ollama4j.models.response.LibraryModel;
+
-import java.util.List;
-
-public class Main {
-
- public static void main(String[] args) {
-
- String host = "http://localhost:11434/";
-
- OllamaAPI ollamaAPI = new OllamaAPI(host);
-
- List libraryModels = ollamaAPI.listModelsFromLibrary();
-
- System.out.println(libraryModels);
- }
-}
-```
+
+ View ListLibraryModels.java on GitHub
+
The following is the sample output: