mirror of
https://github.com/kennethreitz/simplemind.git
synced 2026-06-05 14:50:16 +00:00
Refactor generate_text.py to use the default provider
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from _context import sm
|
||||
|
||||
# Defaults to the default provider and model (openai/gpt-4o-mini)
|
||||
# Defaults to the default provider (openai)
|
||||
r = sm.generate_text("Write a poem about the moon", llm_model="gpt-4o-mini")
|
||||
|
||||
print(r)
|
||||
|
||||
Reference in New Issue
Block a user