Skip to content

Commit 8404be2

Browse files
committed
feat(name): rename to flare-ai-defai
1 parent 7847ce2 commit 8404be2

31 files changed

+47
-41
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
2-
name = "flare-ai-core"
2+
name = "flare-ai-defai"
33
version = "0.1.0"
4-
description = "Core SDK for using Flare AI."
4+
description = "Flare AI SDK template for AI x DeFi (DeFAI)"
55
readme = "README.md"
66
authors = [
77
{name = "Dinesh Pinto", email = "annual.fallout_0z@icloud.com"},
@@ -37,7 +37,7 @@ ui = [
3737
]
3838

3939
[project.scripts]
40-
start-backend = "flare_ai_core.main:start"
40+
start-backend = "flare_ai_defai.main:start"
4141

4242
[tool.uv]
4343
default-groups = ["dev", "validate", "onchain", "ui"]
@@ -55,7 +55,7 @@ ignore = ["D203", "D212", "COM812", "D", "S105", "ANN401", "T201", "ISC003"]
5555

5656
[tool.ruff.lint.extend-per-file-ignores]
5757
"tests/**/*.py" = ["S101", "ARG"]
58-
"src/flare_ai_core/prompts/templates.py" = ["E501"]
58+
"src/flare_ai_defai/prompts/templates.py" = ["E501"]
5959

6060
[tool.ruff.format]
6161
docstring-code-format = true

src/flare_ai_core/__init__.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/flare_ai_defai/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
from flare_ai_defai.ai import GeminiProvider
2+
from flare_ai_defai.api import ChatRouter, router
3+
from flare_ai_defai.attestation import Vtpm
4+
from flare_ai_defai.blockchain import FlareProvider
5+
from flare_ai_defai.prompts import (
6+
PromptService,
7+
SemanticRouterResponse,
8+
)
9+
10+
__all__ = [
11+
"ChatRouter",
12+
"FlareProvider",
13+
"GeminiProvider",
14+
"PromptService",
15+
"SemanticRouterResponse",
16+
"Vtpm",
17+
"router",
18+
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import structlog
1313
from google.generativeai.types import ContentDict
1414

15-
from flare_ai_core.ai.base import BaseAIProvider, ModelResponse
15+
from flare_ai_defai.ai.base import BaseAIProvider, ModelResponse
1616

1717
logger = structlog.get_logger(__name__)
1818

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from flare_ai_core.ai.base import BaseAIProvider
1+
from flare_ai_defai.ai.base import BaseAIProvider
22

33

44
class OpenRouterProvider(BaseAIProvider):
File renamed without changes.

0 commit comments

Comments
 (0)