biblemate 0.0.14__tar.gz → 0.0.16__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biblemate
3
- Version: 0.0.14
3
+ Version: 0.0.16
4
4
  Summary: BibleMate AI - Automate Your Bible Study
5
5
  Home-page: https://toolmate.ai
6
6
  Author: Eliran Wong
@@ -0,0 +1,4 @@
1
+ AGENTMAKE_CONFIG = {
2
+ "print_on_terminal": False,
3
+ "word_wrap": False,
4
+ }
@@ -1,6 +1,7 @@
1
1
  import logging
2
2
  from fastmcp import FastMCP
3
3
  from agentmake import agentmake
4
+ from biblemate import AGENTMAKE_CONFIG
4
5
 
5
6
  # Configure logging before creating the FastMCP server
6
7
  logging.basicConfig(format="[%(levelname)s]: %(message)s", level=logging.ERROR)
@@ -14,322 +15,322 @@ def getResponse(messages:list) -> str:
14
15
  def compare_bible_translations(request:str) -> str:
15
16
  """compare Bible translations; bible verse reference(s) must be given"""
16
17
  global agentmake, getResponse
17
- messages = agentmake(request, **{'input_content_plugin': 'uba/every_single_ref', 'tool': 'uba/compare'})
18
+ messages = agentmake(request, **{'input_content_plugin': 'uba/every_single_ref', 'tool': 'uba/compare'}, **AGENTMAKE_CONFIG)
18
19
  return getResponse(messages)
19
20
 
20
21
  @mcp.tool
21
22
  def retrieve_bible_study_indexes(request:str) -> str:
22
23
  """retrieve smart indexes on studying a particular bible verse; bible verse reference must be given"""
23
24
  global agentmake, getResponse
24
- messages = agentmake(request, **{'input_content_plugin': 'uba/every_single_ref', 'tool': 'uba/index'})
25
+ messages = agentmake(request, **{'input_content_plugin': 'uba/every_single_ref', 'tool': 'uba/index'}, **AGENTMAKE_CONFIG)
25
26
  return getResponse(messages)
26
27
 
27
28
  @mcp.tool
28
29
  def retrieve_bible_cross_references(request:str) -> str:
29
30
  """retrieve cross-references of Bible verses; bible verse reference(s) must be given"""
30
31
  global agentmake, getResponse
31
- messages = agentmake(request, **{'input_content_plugin': 'uba/every_single_ref', 'tool': 'uba/xref'})
32
+ messages = agentmake(request, **{'input_content_plugin': 'uba/every_single_ref', 'tool': 'uba/xref'}, **AGENTMAKE_CONFIG)
32
33
  return getResponse(messages)
33
34
 
34
35
  @mcp.tool
35
36
  def retrieve_english_bible_verses(request:str) -> str:
36
37
  """retrieve English Bible verses; bible verse reference(s) must be given"""
37
38
  global agentmake, getResponse
38
- messages = agentmake(request, **{'tool': 'uba/net'})
39
+ messages = agentmake(request, **{'tool': 'uba/net'}, **AGENTMAKE_CONFIG)
39
40
  return getResponse(messages)
40
41
 
41
42
  @mcp.tool
42
43
  def search_bible_or_run_uba_command(request:str) -> str:
43
44
  """search the bible; run UniqueBible App UBA command; either search string or full command must be given"""
44
45
  global agentmake, getResponse
45
- messages = agentmake(request, **{'tool': 'uba/cmd'})
46
+ messages = agentmake(request, **{'tool': 'uba/cmd'}, **AGENTMAKE_CONFIG)
46
47
  return getResponse(messages)
47
48
 
48
49
  @mcp.tool
49
50
  def read_bible_commentary(request:str) -> str:
50
51
  """read bible commentary; bible verse reference(s) must be given"""
51
52
  global agentmake, getResponse
52
- messages = agentmake(request, **{'tool': 'uba/ai_comment'})
53
+ messages = agentmake(request, **{'tool': 'uba/ai_comment'}, **AGENTMAKE_CONFIG)
53
54
  return getResponse(messages)
54
55
 
55
56
  @mcp.tool
56
57
  def retrieve_chinese_bible_verses(request:str) -> str:
57
58
  """retrieve Chinese Bible verses; bible verse reference(s) must be given"""
58
59
  global agentmake, getResponse
59
- messages = agentmake(request, **{'tool': 'uba/cuv'})
60
+ messages = agentmake(request, **{'tool': 'uba/cuv'}, **AGENTMAKE_CONFIG)
60
61
  return getResponse(messages)
61
62
 
62
63
  @mcp.tool
63
64
  def refine_bible_translation(request:str) -> str:
64
65
  """refine the translation of a Bible verse or passage"""
65
66
  global agentmake, getResponse
66
- messages = agentmake(request, **{'system': 'bible/translate'})
67
+ messages = agentmake(request, **{'system': 'bible/translate'}, **AGENTMAKE_CONFIG)
67
68
  return getResponse(messages)
68
69
 
69
70
  @mcp.tool
70
71
  def write_pastor_prayer(request:str) -> str:
71
72
  """write a prayer, out of a church pastor heart, based on user input"""
72
73
  global agentmake, getResponse
73
- messages = agentmake(request, **{'system': 'bible/pray'})
74
+ messages = agentmake(request, **{'system': 'bible/pray'}, **AGENTMAKE_CONFIG)
74
75
  return getResponse(messages)
75
76
 
76
77
  @mcp.tool
77
78
  def ask_theologian(request:str) -> str:
78
79
  """ask a theologian about the bible"""
79
80
  global agentmake, getResponse
80
- messages = agentmake(request, **{'system': 'bible/theologian'})
81
+ messages = agentmake(request, **{'system': 'bible/theologian'}, **AGENTMAKE_CONFIG)
81
82
  return getResponse(messages)
82
83
 
83
84
  @mcp.tool
84
85
  def quote_bible_verses(request:str) -> str:
85
86
  """quote multiple bible verses in response to user request"""
86
87
  global agentmake, getResponse
87
- messages = agentmake(request, **{'system': 'bible/quote'})
88
+ messages = agentmake(request, **{'system': 'bible/quote'}, **AGENTMAKE_CONFIG)
88
89
  return getResponse(messages)
89
90
 
90
91
  @mcp.tool
91
92
  def anyalyze_psalms(request:str) -> str:
92
93
  """analyze the context and background of the Psalms in the bible"""
93
94
  global agentmake, getResponse
94
- messages = agentmake(request, **{'system': 'bible/david'})
95
+ messages = agentmake(request, **{'system': 'bible/david'}, **AGENTMAKE_CONFIG)
95
96
  return getResponse(messages)
96
97
 
97
98
  @mcp.tool
98
99
  def ask_pastor(request:str) -> str:
99
100
  """ask a church pastor about the bible"""
100
101
  global agentmake, getResponse
101
- messages = agentmake(request, **{'system': 'bible/billy'})
102
+ messages = agentmake(request, **{'system': 'bible/billy'}, **AGENTMAKE_CONFIG)
102
103
  return getResponse(messages)
103
104
 
104
105
  @mcp.tool
105
106
  def ask_bible_scholar(request:str) -> str:
106
107
  """ask a bible scholar about the bible"""
107
108
  global agentmake, getResponse
108
- messages = agentmake(request, **{'system': 'bible/scholar'})
109
+ messages = agentmake(request, **{'system': 'bible/scholar'}, **AGENTMAKE_CONFIG)
109
110
  return getResponse(messages)
110
111
 
111
112
  @mcp.tool
112
113
  def explain_bible_meaning(request:str) -> str:
113
114
  """Explain the meaning of the user-given content in reference to the Bible"""
114
115
  global agentmake, getResponse
115
- messages = agentmake(request, **{'instruction': 'bible/meaning', 'system': 'auto', 'backend': 'googleai'})
116
+ messages = agentmake(request, **{'instruction': 'bible/meaning', 'system': 'auto'}, **AGENTMAKE_CONFIG)
116
117
  return getResponse(messages)
117
118
 
118
119
  @mcp.tool
119
120
  def write_new_testament_historical_context(request:str) -> str:
120
121
  """write the Bible Historical Context of a New Testament passage in the bible; new testament bible book / chapter / passage / reference(s) must be given"""
121
122
  global agentmake, getResponse
122
- messages = agentmake(request, **{'instruction': 'bible/nt_context', 'system': 'auto', 'backend': 'googleai'})
123
+ messages = agentmake(request, **{'instruction': 'bible/nt_context', 'system': 'auto'}, **AGENTMAKE_CONFIG)
123
124
  return getResponse(messages)
124
125
 
125
126
  @mcp.tool
126
127
  def write_bible_questions(request:str) -> str:
127
128
  """Write thought-provoking questions for bible study group discussion; bible book / chapter / passage / reference(s) must be given"""
128
129
  global agentmake, getResponse
129
- messages = agentmake(request, **{'instruction': 'bible/questions', 'system': 'auto', 'backend': 'googleai'})
130
+ messages = agentmake(request, **{'instruction': 'bible/questions', 'system': 'auto'}, **AGENTMAKE_CONFIG)
130
131
  return getResponse(messages)
131
132
 
132
133
  @mcp.tool
133
134
  def write_bible_devotion(request:str) -> str:
134
135
  """Write a devotion on a bible passage; bible book / chapter / passage / reference(s) must be given"""
135
136
  global agentmake, getResponse
136
- messages = agentmake(request, **{'instruction': 'bible/devotion', 'system': 'auto', 'backend': 'googleai'})
137
+ messages = agentmake(request, **{'instruction': 'bible/devotion', 'system': 'auto'}, **AGENTMAKE_CONFIG)
137
138
  return getResponse(messages)
138
139
 
139
140
  @mcp.tool
140
141
  def translate_hebrew_bible_verse(request:str) -> str:
141
142
  """Translate a Hebrew bible verse; Hebrew bible text must be given"""
142
143
  global agentmake, getResponse
143
- messages = agentmake(request, **{'instruction': 'bible/translate_hebrew', 'system': 'auto', 'backend': 'googleai'})
144
+ messages = agentmake(request, **{'instruction': 'bible/translate_hebrew', 'system': 'auto'}, **AGENTMAKE_CONFIG)
144
145
  return getResponse(messages)
145
146
 
146
147
  @mcp.tool
147
148
  def write_bible_location_study(request:str) -> str:
148
149
  """write comprehensive information on a bible location; a bible location name must be given"""
149
150
  global agentmake, getResponse
150
- messages = agentmake(request, **{'instruction': 'bible/location', 'system': 'auto', 'backend': 'googleai'})
151
+ messages = agentmake(request, **{'instruction': 'bible/location', 'system': 'auto'}, **AGENTMAKE_CONFIG)
151
152
  return getResponse(messages)
152
153
 
153
154
  @mcp.tool
154
155
  def translate_greek_bible_verse(request:str) -> str:
155
156
  """Translate a Greek bible verse: Greek bible text must be given"""
156
157
  global agentmake, getResponse
157
- messages = agentmake(request, **{'instruction': 'bible/translate_greek', 'system': 'auto', 'backend': 'googleai'})
158
+ messages = agentmake(request, **{'instruction': 'bible/translate_greek', 'system': 'auto'}, **AGENTMAKE_CONFIG)
158
159
  return getResponse(messages)
159
160
 
160
161
  @mcp.tool
161
162
  def identify_bible_keywords(request:str) -> str:
162
163
  """Identify bible key words from the user-given content"""
163
164
  global agentmake, getResponse
164
- messages = agentmake(request, **{'instruction': 'bible/keywords', 'system': 'auto', 'backend': 'googleai'})
165
+ messages = agentmake(request, **{'instruction': 'bible/keywords', 'system': 'auto'}, **AGENTMAKE_CONFIG)
165
166
  return getResponse(messages)
166
167
 
167
168
  @mcp.tool
168
169
  def study_old_testament_themes(request:str) -> str:
169
170
  """Study Bible Themes in a Old Testament passage; old testatment bible book / chapter / passage / reference(s) must be given"""
170
171
  global agentmake, getResponse
171
- messages = agentmake(request, **{'instruction': 'bible/ot_themes', 'system': 'auto', 'backend': 'googleai'})
172
+ messages = agentmake(request, **{'instruction': 'bible/ot_themes', 'system': 'auto'}, **AGENTMAKE_CONFIG)
172
173
  return getResponse(messages)
173
174
 
174
175
  @mcp.tool
175
176
  def study_new_testament_themes(request:str) -> str:
176
177
  """Study Bible Themes in a New Testament passage; new testament bible book / chapter / passage / reference(s) must be given"""
177
178
  global agentmake, getResponse
178
- messages = agentmake(request, **{'instruction': 'bible/nt_themes', 'system': 'auto', 'backend': 'googleai'})
179
+ messages = agentmake(request, **{'instruction': 'bible/nt_themes', 'system': 'auto'}, **AGENTMAKE_CONFIG)
179
180
  return getResponse(messages)
180
181
 
181
182
  @mcp.tool
182
183
  def write_old_testament_highlights(request:str) -> str:
183
184
  """Write Highlights in a Old Testament passage in the bible; old testament bible book / chapter / passage / reference(s) must be given"""
184
185
  global agentmake, getResponse
185
- messages = agentmake(request, **{'instruction': 'bible/ot_highligths', 'system': 'auto', 'backend': 'googleai'})
186
+ messages = agentmake(request, **{'instruction': 'bible/ot_highligths', 'system': 'auto'}, **AGENTMAKE_CONFIG)
186
187
  return getResponse(messages)
187
188
 
188
189
  @mcp.tool
189
190
  def write_bible_prayer(request:str) -> str:
190
191
  """Write a prayer pertaining to the user content in reference to the Bible"""
191
192
  global agentmake, getResponse
192
- messages = agentmake(request, **{'instruction': 'bible/prayer', 'system': 'auto', 'backend': 'googleai'})
193
+ messages = agentmake(request, **{'instruction': 'bible/prayer', 'system': 'auto'}, **AGENTMAKE_CONFIG)
193
194
  return getResponse(messages)
194
195
 
195
196
  @mcp.tool
196
197
  def write_short_bible_prayer(request:str) -> str:
197
198
  """Write a short prayer, in one paragraph only, pertaining to the user content in reference to the Bible"""
198
199
  global agentmake, getResponse
199
- messages = agentmake(request, **{'instruction': 'bible/short_prayer', 'system': 'auto', 'backend': 'googleai'})
200
+ messages = agentmake(request, **{'instruction': 'bible/short_prayer', 'system': 'auto'}, **AGENTMAKE_CONFIG)
200
201
  return getResponse(messages)
201
202
 
202
203
  @mcp.tool
203
204
  def write_bible_character_study(request:str) -> str:
204
205
  """Write comprehensive information on a given bible character in the bible; a bible character name must be given"""
205
206
  global agentmake, getResponse
206
- messages = agentmake(request, **{'instruction': 'bible/character', 'system': 'auto', 'backend': 'googleai'})
207
+ messages = agentmake(request, **{'instruction': 'bible/character', 'system': 'auto'}, **AGENTMAKE_CONFIG)
207
208
  return getResponse(messages)
208
209
 
209
210
  @mcp.tool
210
211
  def write_bible_thought_progression(request:str) -> str:
211
212
  """write Bible Thought Progression of a bible book / chapter / passage; bible book / chapter / passage / reference(s) must be given"""
212
213
  global agentmake, getResponse
213
- messages = agentmake(request, **{'instruction': 'bible/flow', 'system': 'auto', 'backend': 'googleai'})
214
+ messages = agentmake(request, **{'instruction': 'bible/flow', 'system': 'auto'}, **AGENTMAKE_CONFIG)
214
215
  return getResponse(messages)
215
216
 
216
217
  @mcp.tool
217
218
  def quote_bible_promises(request:str) -> str:
218
219
  """Quote relevant Bible promises in response to user request"""
219
220
  global agentmake, getResponse
220
- messages = agentmake(request, **{'instruction': 'bible/promises', 'system': 'auto', 'backend': 'googleai'})
221
+ messages = agentmake(request, **{'instruction': 'bible/promises', 'system': 'auto'}, **AGENTMAKE_CONFIG)
221
222
  return getResponse(messages)
222
223
 
223
224
  @mcp.tool
224
225
  def write_bible_chapter_summary(request:str) -> str:
225
226
  """Write a detailed interpretation on a bible chapter; a bible chapter must be given"""
226
227
  global agentmake, getResponse
227
- messages = agentmake(request, **{'instruction': 'bible/chapter_summary', 'system': 'auto', 'backend': 'googleai'})
228
+ messages = agentmake(request, **{'instruction': 'bible/chapter_summary', 'system': 'auto'}, **AGENTMAKE_CONFIG)
228
229
  return getResponse(messages)
229
230
 
230
231
  @mcp.tool
231
232
  def write_bible_perspectives(request:str) -> str:
232
233
  """Write biblical perspectives and principles in relation to the user content"""
233
234
  global agentmake, getResponse
234
- messages = agentmake(request, **{'instruction': 'bible/perspective', 'system': 'auto', 'backend': 'googleai'})
235
+ messages = agentmake(request, **{'instruction': 'bible/perspective', 'system': 'auto'}, **AGENTMAKE_CONFIG)
235
236
  return getResponse(messages)
236
237
 
237
238
  @mcp.tool
238
239
  def interpret_old_testament_verse(request:str) -> str:
239
240
  """Interpret the user-given bible verse from the Old Testament in the light of its context, together with insights of biblical Hebrew studies; an old testament bible verse / reference(s) must be given"""
240
241
  global agentmake, getResponse
241
- messages = agentmake(request, **{'instruction': 'bible/ot_meaning', 'system': 'auto', 'backend': 'googleai'})
242
+ messages = agentmake(request, **{'instruction': 'bible/ot_meaning', 'system': 'auto'}, **AGENTMAKE_CONFIG)
242
243
  return getResponse(messages)
243
244
 
244
245
  @mcp.tool
245
246
  def expound_bible_topic(request:str) -> str:
246
247
  """Expound the user-given topic in reference to the Bible; a topic must be given"""
247
248
  global agentmake, getResponse
248
- messages = agentmake(request, **{'instruction': 'bible/topic', 'system': 'auto', 'backend': 'googleai'})
249
+ messages = agentmake(request, **{'instruction': 'bible/topic', 'system': 'auto'}, **AGENTMAKE_CONFIG)
249
250
  return getResponse(messages)
250
251
 
251
252
  @mcp.tool
252
253
  def write_bible_theology(request:str) -> str:
253
254
  """write the theological messages conveyed in the user-given content, in reference to the Bible"""
254
255
  global agentmake, getResponse
255
- messages = agentmake(request, **{'instruction': 'bible/theology', 'system': 'auto', 'backend': 'googleai'})
256
+ messages = agentmake(request, **{'instruction': 'bible/theology', 'system': 'auto'}, **AGENTMAKE_CONFIG)
256
257
  return getResponse(messages)
257
258
 
258
259
  @mcp.tool
259
260
  def study_bible_themes(request:str) -> str:
260
261
  """Study Bible Themes in relation to the user content"""
261
262
  global agentmake, getResponse
262
- messages = agentmake(request, **{'instruction': 'bible/themes', 'system': 'auto', 'backend': 'googleai'})
263
+ messages = agentmake(request, **{'instruction': 'bible/themes', 'system': 'auto'}, **AGENTMAKE_CONFIG)
263
264
  return getResponse(messages)
264
265
 
265
266
  @mcp.tool
266
267
  def write_bible_canonical_context(request:str) -> str:
267
268
  """Write about canonical context of a bible book / chapter / passage; bible book / chapter / passage / reference(s) must be given"""
268
269
  global agentmake, getResponse
269
- messages = agentmake(request, **{'instruction': 'bible/canon', 'system': 'auto', 'backend': 'googleai'})
270
+ messages = agentmake(request, **{'instruction': 'bible/canon', 'system': 'auto'}, **AGENTMAKE_CONFIG)
270
271
  return getResponse(messages)
271
272
 
272
273
  @mcp.tool
273
274
  def write_bible_related_summary(request:str) -> str:
274
275
  """Write a summary on the user-given content in reference to the Bible"""
275
276
  global agentmake, getResponse
276
- messages = agentmake(request, **{'instruction': 'bible/summary', 'system': 'auto', 'backend': 'googleai'})
277
+ messages = agentmake(request, **{'instruction': 'bible/summary', 'system': 'auto'}, **AGENTMAKE_CONFIG)
277
278
  return getResponse(messages)
278
279
 
279
280
  @mcp.tool
280
281
  def interpret_new_testament_verse(request:str) -> str:
281
282
  """Interpret the user-given bible verse from the New Testament in the light of its context, together with insights of biblical Greek studies; a new testament bible verse / reference(s) must be given"""
282
283
  global agentmake, getResponse
283
- messages = agentmake(request, **{'instruction': 'bible/nt_meaning', 'system': 'auto', 'backend': 'googleai'})
284
+ messages = agentmake(request, **{'instruction': 'bible/nt_meaning', 'system': 'auto'}, **AGENTMAKE_CONFIG)
284
285
  return getResponse(messages)
285
286
 
286
287
  @mcp.tool
287
288
  def write_new_testament_highlights(request:str) -> str:
288
289
  """Write Highlights in a New Testament passage in the bible; new testament bible book / chapter / passage / reference(s) must be given"""
289
290
  global agentmake, getResponse
290
- messages = agentmake(request, **{'instruction': 'bible/nt_highlights', 'system': 'auto', 'backend': 'googleai'})
291
+ messages = agentmake(request, **{'instruction': 'bible/nt_highlights', 'system': 'auto'}, **AGENTMAKE_CONFIG)
291
292
  return getResponse(messages)
292
293
 
293
294
  @mcp.tool
294
295
  def write_bible_applications(request:str) -> str:
295
296
  """Provide detailed applications of a bible passages; bible book / chapter / passage / reference(s) must be given"""
296
297
  global agentmake, getResponse
297
- messages = agentmake(request, **{'instruction': 'bible/application', 'system': 'auto', 'backend': 'googleai'})
298
+ messages = agentmake(request, **{'instruction': 'bible/application', 'system': 'auto'}, **AGENTMAKE_CONFIG)
298
299
  return getResponse(messages)
299
300
 
300
301
  @mcp.tool
301
302
  def write_bible_book_introduction(request:str) -> str:
302
303
  """Write a detailed introduction on a book in the bible; bible book must be given"""
303
304
  global agentmake, getResponse
304
- messages = agentmake(request, **{'instruction': 'bible/introduce_book', 'system': 'auto', 'backend': 'googleai'})
305
+ messages = agentmake(request, **{'instruction': 'bible/introduce_book', 'system': 'auto'}, **AGENTMAKE_CONFIG)
305
306
  return getResponse(messages)
306
307
 
307
308
  @mcp.tool
308
309
  def write_old_testament_historical_context(request:str) -> str:
309
310
  """write the Bible Historical Context of a Old Testament passage in the bible; old testament bible book / chapter / passage / reference(s) must be given"""
310
311
  global agentmake, getResponse
311
- messages = agentmake(request, **{'instruction': 'bible/ot_context', 'system': 'auto', 'backend': 'googleai'})
312
+ messages = agentmake(request, **{'instruction': 'bible/ot_context', 'system': 'auto'}, **AGENTMAKE_CONFIG)
312
313
  return getResponse(messages)
313
314
 
314
315
  @mcp.tool
315
316
  def write_bible_outline(request:str) -> str:
316
317
  """provide a detailed outline of a bible book / chapter / passage; bible book / chapter / passage / reference(s) must be given"""
317
318
  global agentmake, getResponse
318
- messages = agentmake(request, **{'instruction': 'bible/outline', 'system': 'auto', 'backend': 'googleai'})
319
+ messages = agentmake(request, **{'instruction': 'bible/outline', 'system': 'auto'}, **AGENTMAKE_CONFIG)
319
320
  return getResponse(messages)
320
321
 
321
322
  @mcp.tool
322
323
  def write_bible_insights(request:str) -> str:
323
324
  """Write exegetical insights in detail on a bible passage; bible book / chapter / passage / reference(s) must be given"""
324
325
  global agentmake, getResponse
325
- messages = agentmake(request, **{'instruction': 'bible/insights', 'system': 'auto', 'backend': 'googleai'})
326
+ messages = agentmake(request, **{'instruction': 'bible/insights', 'system': 'auto'}, **AGENTMAKE_CONFIG)
326
327
  return getResponse(messages)
327
328
 
328
329
  @mcp.tool
329
330
  def write_bible_sermon(request:str) -> str:
330
331
  """Write a bible sermon based on a bible passage; bible book / chapter / passage / reference(s) must be given"""
331
332
  global agentmake, getResponse
332
- messages = agentmake(request, **{'instruction': 'bible/sermon', 'system': 'auto', 'backend': 'googleai'})
333
+ messages = agentmake(request, **{'instruction': 'bible/sermon', 'system': 'auto'}, **AGENTMAKE_CONFIG)
333
334
  return getResponse(messages)
334
335
 
335
336
  mcp.run(show_banner=False)
@@ -1,5 +1,10 @@
1
1
  import os
2
2
  from agentmake import PACKAGE_PATH, AGENTMAKE_USER_DIR, readTextFile
3
+ from pathlib import Path
4
+
5
+ # set up user_directory for customisation
6
+ user_directory = os.path.join(AGENTMAKE_USER_DIR, "biblemate")
7
+ Path(user_directory).mkdir(parents=True, exist_ok=True)
3
8
 
4
9
  def get_system_suggestion(master_plan: str) -> str:
5
10
  """
@@ -1,7 +1,7 @@
1
1
  from biblemate.core.systems import *
2
2
  from biblemate.ui.prompts import getInput
3
3
  from biblemate.ui.info import get_banner
4
- from biblemate import config
4
+ from biblemate import config, AGENTMAKE_CONFIG
5
5
  from pathlib import Path
6
6
  import asyncio, re, os
7
7
  from alive_progress import alive_bar
@@ -17,14 +17,13 @@ if not USER_OS == "Windows":
17
17
  # Client to interact with the built-in Bible Study MCP server
18
18
  client = Client(os.path.join(os.path.dirname(os.path.realpath(__file__)), "bible_study_mcp.py"))
19
19
 
20
- AGENTMAKE_CONFIG = {
21
- "print_on_terminal": False,
22
- "word_wrap": False,
23
- }
24
20
  # TODO: place in config.py
25
21
  MAX_STEPS = 50
26
22
 
27
- async def main():
23
+ def main():
24
+ asyncio.run(main_async())
25
+
26
+ async def main_async():
28
27
 
29
28
  console = Console(record=True)
30
29
  console.clear()
@@ -369,4 +368,5 @@ Available tools are: {available_tools}.
369
368
  # Backup
370
369
  backup()
371
370
 
372
- asyncio.run(main())
371
+ if __name__ == "__main__":
372
+ asyncio.run(main())
@@ -1,4 +1,4 @@
1
- agentmake>=1.0.64
1
+ agentmake>=1.0.65
2
2
  agentmakemcp>=0.0.8
3
3
  fastmcp[cli]
4
4
  rich
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biblemate
3
- Version: 0.0.14
3
+ Version: 0.0.16
4
4
  Summary: BibleMate AI - Automate Your Bible Study
5
5
  Home-page: https://toolmate.ai
6
6
  Author: Eliran Wong
@@ -1,4 +1,4 @@
1
- agentmake>=1.0.64
1
+ agentmake>=1.0.65
2
2
  agentmakemcp>=0.0.8
3
3
  alive-progress
4
4
  fastmcp[cli]
@@ -27,7 +27,7 @@ with open(os.path.join(package, "requirements.txt"), "r") as fileObj:
27
27
  # https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/
28
28
  setup(
29
29
  name=package,
30
- version="0.0.14",
30
+ version="0.0.16",
31
31
  python_requires=">=3.8, <3.13",
32
32
  description=f"BibleMate AI - Automate Your Bible Study",
33
33
  long_description=long_description,
File without changes
File without changes