Compare commits
30
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c724d8177 | ||
|
|
b87dc1da9e | ||
|
|
a3db1ae993 | ||
|
|
67070df04b | ||
|
|
a877cdc464 | ||
|
|
f2b862bb75 | ||
|
|
1630df04e6 | ||
|
|
c3c4445d33 | ||
|
|
9b57e2b9ea | ||
|
|
20233b6264 | ||
|
|
4e65c60611 | ||
|
|
d91d82b281 | ||
|
|
9e9ac7b99d | ||
|
|
328e870bf0 | ||
|
|
546b86738a | ||
|
|
1bb99c2343 | ||
|
|
c5444f1a7f | ||
|
|
4119b2ec41 | ||
|
|
01b7f1cd78 | ||
|
|
c606f72d90 | ||
|
|
8a64d9c959 | ||
|
|
0c090c8489 | ||
|
|
e0b2c80bc9 | ||
|
|
44141ab545 | ||
|
|
e57d6eb6b6 | ||
|
|
c80f692cb0 | ||
|
|
bc2f8a8bca | ||
|
|
e7f7a79d86 | ||
|
|
9b11fea0e7 | ||
|
|
6320571528 |
@@ -6,4 +6,3 @@ __pycache__
|
|||||||
.zed
|
.zed
|
||||||
pyproject.toml
|
pyproject.toml
|
||||||
.ropeproject
|
.ropeproject
|
||||||
generated_files/*
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ from ollama import Client
|
|||||||
import chromadb
|
import chromadb
|
||||||
from langchain_ollama import ChatOllama
|
from langchain_ollama import ChatOllama
|
||||||
|
|
||||||
|
|
||||||
class OllamaGenerator:
|
class OllamaGenerator:
|
||||||
|
|
||||||
def __init__(self, title: str, content: str, inner_title: str):
|
def __init__(self, title: str, content: str, inner_title: str):
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ class GitRepository:
|
|||||||
def create_and_switch_branch(self, branch_name, remote_name='origin', ref_name='main'):
|
def create_and_switch_branch(self, branch_name, remote_name='origin', ref_name='main'):
|
||||||
"""Create a new branch in the repository with authentication."""
|
"""Create a new branch in the repository with authentication."""
|
||||||
try:
|
try:
|
||||||
print(f"Creating Branch {branch_name}")
|
pring(f"Creating Branch {title}")
|
||||||
# Use the same remote and ref as before
|
# Use the same remote and ref as before
|
||||||
self.repo.git.branch(branch_name)
|
self.repo.git.branch(branch_name)
|
||||||
except GitCommandError:
|
except GitCommandError:
|
||||||
|
|||||||
Reference in New Issue
Block a user