llama-github 0.2.6__tar.gz → 0.2.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. {llama_github-0.2.6 → llama_github-0.2.8}/CHANGELOG.md +5 -0
  2. {llama_github-0.2.6/llama_github.egg-info → llama_github-0.2.8}/PKG-INFO +8 -3
  3. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/llm_integration/initial_load.py +6 -6
  4. llama_github-0.2.8/llama_github/version.py +1 -0
  5. {llama_github-0.2.6 → llama_github-0.2.8/llama_github.egg-info}/PKG-INFO +8 -3
  6. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github.egg-info/requires.txt +0 -1
  7. {llama_github-0.2.6 → llama_github-0.2.8}/setup.cfg +1 -1
  8. llama_github-0.2.6/llama_github/version.py +0 -1
  9. {llama_github-0.2.6 → llama_github-0.2.8}/LICENSE +0 -0
  10. {llama_github-0.2.6 → llama_github-0.2.8}/MANIFEST.in +0 -0
  11. {llama_github-0.2.6 → llama_github-0.2.8}/README.md +0 -0
  12. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/__init__.py +0 -0
  13. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/config/__init__.py +0 -0
  14. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/config/config.json +0 -0
  15. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/config/config.py +0 -0
  16. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/data_retrieval/__init__.py +0 -0
  17. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/data_retrieval/github_api.py +0 -0
  18. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/data_retrieval/github_entities.py +0 -0
  19. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/features/__init__.py +0 -0
  20. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/features/feature_flags.py +0 -0
  21. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/features/insider_features.py +0 -0
  22. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/github_integration/__init__.py +0 -0
  23. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/github_integration/github_auth_manager.py +0 -0
  24. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/github_rag.py +0 -0
  25. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/llm_integration/__init__.py +0 -0
  26. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/llm_integration/llm_handler.py +0 -0
  27. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/logger.py +0 -0
  28. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/rag_processing/__init__.py +0 -0
  29. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/rag_processing/rag_processor.py +0 -0
  30. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github/utils.py +0 -0
  31. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github.egg-info/SOURCES.txt +0 -0
  32. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github.egg-info/dependency_links.txt +0 -0
  33. {llama_github-0.2.6 → llama_github-0.2.8}/llama_github.egg-info/top_level.txt +0 -0
  34. {llama_github-0.2.6 → llama_github-0.2.8}/setup.py +0 -0
  35. {llama_github-0.2.6 → llama_github-0.2.8}/tests/test_data_retrieval.py +0 -0
  36. {llama_github-0.2.6 → llama_github-0.2.8}/tests/test_github_auth_manager.py +0 -0
  37. {llama_github-0.2.6 → llama_github-0.2.8}/tests/test_initial_load.py +0 -0
  38. {llama_github-0.2.6 → llama_github-0.2.8}/tests/test_llm_handler.py +0 -0
  39. {llama_github-0.2.6 → llama_github-0.2.8}/tests/test_logger.py +0 -0
  40. {llama_github-0.2.6 → llama_github-0.2.8}/tests/test_rag_processor.py +0 -0
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.8] - 2025-03-19
9
+
10
+ ### Optimized
11
+ - Upgrade to mistral-small-latest
12
+
8
13
  ## [0.2.3] - 2024-11-24
9
14
 
10
15
  ### Optimized
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: llama-github
3
- Version: 0.2.6
3
+ Version: 0.2.8
4
4
  Summary: Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Agents to conduct Retrieval from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.
5
5
  Home-page: https://github.com/JetXu-LLM/llama-github
6
6
  Author: Jet Xu
@@ -21,7 +21,6 @@ Requires-Dist: pydantic
21
21
  Requires-Dist: requests
22
22
  Requires-Dist: transformers
23
23
  Requires-Dist: urllib3
24
- Requires-Dist: sys
25
24
  Requires-Dist: platform
26
25
  Requires-Dist: subprocess
27
26
  Requires-Dist: pydantic_core
@@ -33,6 +32,7 @@ Provides-Extra: dev
33
32
  Requires-Dist: pytest; extra == "dev"
34
33
  Requires-Dist: black; extra == "dev"
35
34
  Requires-Dist: flake8; extra == "dev"
35
+ Dynamic: requires-dist
36
36
 
37
37
  # llama-github
38
38
 
@@ -156,6 +156,11 @@ All notable changes to this project will be documented in this file.
156
156
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
157
157
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
158
158
 
159
+ ## [0.2.8] - 2025-03-19
160
+
161
+ ### Optimized
162
+ - Upgrade to mistral-small-latest
163
+
159
164
  ## [0.2.3] - 2024-11-24
160
165
 
161
166
  ### Optimized
@@ -1,8 +1,6 @@
1
1
  # initial_load.py
2
2
  from typing import Optional, Any
3
3
  from threading import Lock
4
- from langchain_openai import ChatOpenAI
5
- from langchain_mistralai.chat_models import ChatMistralAI
6
4
 
7
5
  from llama_github.config.config import config
8
6
  from llama_github.logger import logger
@@ -67,15 +65,17 @@ class LLMManager:
67
65
  self.llm = llm
68
66
  self.model_type = "Custom_langchain_llm"
69
67
  elif mistral_api_key is not None and mistral_api_key != "" and self.llm is None:
70
- logger.info("Initializing Mistral API...")
71
- self.llm = ChatMistralAI(mistral_api_key=mistral_api_key, model="mistral-large-2411")
68
+ logger.info("Initializing Codestral API...")
69
+ from langchain_mistralai.chat_models import ChatMistralAI
70
+ self.llm = ChatMistralAI(mistral_api_key=mistral_api_key, model="mistral-large-latest")
72
71
  self.llm_simple = ChatMistralAI(
73
72
  mistral_api_key=mistral_api_key,
74
- model="open-mistral-nemo",
75
- temperature=0.2
73
+ model="mistral-small-latest",
74
+ temperature=0.26
76
75
  )
77
76
  self.model_type = "OpenAI"
78
77
  elif openai_api_key is not None and openai_api_key != "" and self.llm is None:
78
+ from langchain_openai import ChatOpenAI
79
79
  logger.info("Initializing OpenAI API...")
80
80
  self.llm = ChatOpenAI(api_key=openai_api_key, model="gpt-4-turbo")
81
81
  self.llm_simple = ChatOpenAI(
@@ -0,0 +1 @@
1
+ __version__ = '0.2.8'
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: llama-github
3
- Version: 0.2.6
3
+ Version: 0.2.8
4
4
  Summary: Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Agents to conduct Retrieval from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.
5
5
  Home-page: https://github.com/JetXu-LLM/llama-github
6
6
  Author: Jet Xu
@@ -21,7 +21,6 @@ Requires-Dist: pydantic
21
21
  Requires-Dist: requests
22
22
  Requires-Dist: transformers
23
23
  Requires-Dist: urllib3
24
- Requires-Dist: sys
25
24
  Requires-Dist: platform
26
25
  Requires-Dist: subprocess
27
26
  Requires-Dist: pydantic_core
@@ -33,6 +32,7 @@ Provides-Extra: dev
33
32
  Requires-Dist: pytest; extra == "dev"
34
33
  Requires-Dist: black; extra == "dev"
35
34
  Requires-Dist: flake8; extra == "dev"
35
+ Dynamic: requires-dist
36
36
 
37
37
  # llama-github
38
38
 
@@ -156,6 +156,11 @@ All notable changes to this project will be documented in this file.
156
156
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
157
157
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
158
158
 
159
+ ## [0.2.8] - 2025-03-19
160
+
161
+ ### Optimized
162
+ - Upgrade to mistral-small-latest
163
+
159
164
  ## [0.2.3] - 2024-11-24
160
165
 
161
166
  ### Optimized
@@ -8,7 +8,6 @@ pydantic
8
8
  requests
9
9
  transformers
10
10
  urllib3
11
- sys
12
11
  platform
13
12
  subprocess
14
13
  pydantic_core
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = llama-github
3
- version = 0.2.6
3
+ version = 0.2.8
4
4
  author = Jet Xu
5
5
  author_email = Voldemort.xu@foxmail.com
6
6
  description = Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Agents to conduct Retrieval from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.
@@ -1 +0,0 @@
1
- __version__ = '0.2.6'
File without changes
File without changes
File without changes
File without changes