diff --git a/.idea/matrixmania.iml b/.idea/matrixmania.iml index c03f621..54daf84 100644 --- a/.idea/matrixmania.iml +++ b/.idea/matrixmania.iml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 590a59e..a5ca7c8 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md index 79a2eba..d62f282 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,8 @@ # Regeln für dieses Projekt - Code nach PEP 8, Zeilenlänge maximal 88 Zeichen. - Jede Funktion und Methode hat einen Docstring und Type Hints. -- Vor jedem Commit: `ruff check` und `ruff format`. \ No newline at end of file +- Vor jedem Commit: `ruff check` und `ruff format`. + +## Projektstruktur +- Quellcode liegt unter "src/matrixmania/", Tests unter "test/test_matrixmania/" +- Testpakete, Testdateien und Testfunktionen beginnen mit "test_ \ No newline at end of file diff --git a/opencode.json b/opencode.json index e69de29..15be39d 100644 --- a/opencode.json +++ b/opencode.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://opencode.ai/config.json", + "provider": { + "thn": { + "npm": "@ai-sdk/openai-compatible", + "options": { + "baseURL": "http://141.75.33.244:8000/v1", + "apiKey": "sk-QXj1p40XOwNSze_5-eYrBzVh3qIgAfqoWPkAjNVqOS8" + }, + "models": { + "gpt-oss:20b": { "name": "GPT-OSS 20B" } + } + } + }, + "model": "thn/gpt-oss:20b" +} \ No newline at end of file diff --git a/src/matrixmania/__init__.py b/src/matrixmania/__init__.py index e69de29..975a585 100644 --- a/src/matrixmania/__init__.py +++ b/src/matrixmania/__init__.py @@ -0,0 +1 @@ +from .compute import matmul, transpose, rot_2D \ No newline at end of file