Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "OpenHosta"
version = "4.2.0"
version = "4.2.1"
description = "A lightweight library integrating LLM natively into Python"
keywords = ["AI", "GPT", "Natural language", "Autommatic", "Easy"]
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/OpenHosta/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "4.2.0"
__version__ = "4.2.1"

from .defaults import config
from .defaults import reload_dotenv
Expand Down
15 changes: 3 additions & 12 deletions src/OpenHosta/core/meta_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,22 +134,13 @@ def {{ function_name }}({{ function_args }}) -> {{ function_return_type_name }}:

Example for 3 items of type str:
```python
"first answer"
...first answer...
```
```python
"second answer"
...second answer...
```
```python
"third answer"
```
{% else %}
OUTPUT FORMAT:
Respond with only the return value, placed inside a single fenced Python code block.
Do not add any prose, explanation, or comments outside the block.

Example for return type `str`:
```python
"your answer here"
...third answer...
```
{% endif %}

Expand Down
Loading