Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(forge/llm): Add LlamafileProvider #7091

Open
wants to merge 49 commits into
base: master
Choose a base branch
from

add LLAMAFILE_API_BASE to .env.template

3621be0
Select commit
Loading
Failed to load commit list.
Open

feat(forge/llm): Add LlamafileProvider #7091

add LLAMAFILE_API_BASE to .env.template
3621be0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jun 24, 2024 in 1s

0.00% of diff hit (target 25.50%)

View this Pull Request on Codecov

0.00% of diff hit (target 25.50%)

Annotations

Check warning on line 1 in forge/forge/llm/providers/llamafile/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/__init__.py#L1

Added line #L1 was not covered by tests

Check warning on line 10 in forge/forge/llm/providers/llamafile/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/__init__.py#L10

Added line #L10 was not covered by tests

Check warning on line 5 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L1-L5

Added lines #L1 - L5 were not covered by tests

Check warning on line 8 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L7-L8

Added lines #L7 - L8 were not covered by tests

Check warning on line 13 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L13

Added line #L13 was not covered by tests

Check warning on line 16 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L15-L16

Added lines #L15 - L16 were not covered by tests

Check warning on line 19 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L18-L19

Added lines #L18 - L19 were not covered by tests

Check warning on line 34 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L33-L34

Added lines #L33 - L34 were not covered by tests

Check warning on line 51 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L51

Added line #L51 was not covered by tests

Check warning on line 56 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L54-L56

Added lines #L54 - L56 were not covered by tests

Check warning on line 60 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L60

Added line #L60 was not covered by tests

Check warning on line 73 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L71-L73

Added lines #L71 - L73 were not covered by tests

Check warning on line 76 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L75-L76

Added lines #L75 - L76 were not covered by tests

Check warning on line 81 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 84 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L83-L84

Added lines #L83 - L84 were not covered by tests

Check warning on line 88 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L87-L88

Added lines #L87 - L88 were not covered by tests

Check warning on line 91 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L90-L91

Added lines #L90 - L91 were not covered by tests

Check warning on line 95 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 99 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L98-L99

Added lines #L98 - L99 were not covered by tests

Check warning on line 102 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L102

Added line #L102 was not covered by tests

Check warning on line 109 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L107-L109

Added lines #L107 - L109 were not covered by tests

Check warning on line 111 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L111

Added line #L111 was not covered by tests

Check warning on line 121 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L120-L121

Added lines #L120 - L121 were not covered by tests

Check warning on line 124 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L123-L124

Added lines #L123 - L124 were not covered by tests

Check warning on line 128 in forge/forge/llm/providers/llamafile/llamafile.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

forge/forge/llm/providers/llamafile/llamafile.py#L128

Added line #L128 was not covered by tests