Skip to content

fix Pydantic v2 errors

Codecov / codecov/patch succeeded Jul 4, 2024 in 1s

35.76% of diff hit (target 34.04%)

View this Pull Request on Codecov

35.76% of diff hit (target 34.04%)

Annotations

Check warning on line 83 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

Added line #L83 was 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 94 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

Added line #L94 was not covered by tests

Check warning on line 98 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#L97-L98

Added lines #L97 - L98 were not covered by tests

Check warning on line 101 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#L101

Added line #L101 was not covered by tests

Check warning on line 105 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#L104-L105

Added lines #L104 - L105 were not covered by tests

Check warning on line 131 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#L131

Added line #L131 was not covered by tests

Check warning on line 135 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#L135

Added line #L135 was not covered by tests

Check warning on line 138 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#L138

Added line #L138 was not covered by tests

Check warning on line 147 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#L147

Added line #L147 was not covered by tests

Check warning on line 155 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#L155

Added line #L155 was not covered by tests

Check warning on line 167 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#L165-L167

Added lines #L165 - L167 were not covered by tests

Check warning on line 178 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#L178

Added line #L178 was not covered by tests

Check warning on line 180 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#L180

Added line #L180 was not covered by tests

Check warning on line 182 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#L182

Added line #L182 was not covered by tests

Check warning on line 186 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#L186

Added line #L186 was not covered by tests

Check warning on line 189 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#L188-L189

Added lines #L188 - L189 were not covered by tests

Check warning on line 192 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#L192

Added line #L192 was not covered by tests

Check warning on line 206 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#L206

Added line #L206 was not covered by tests

Check warning on line 211 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#L211

Added line #L211 was not covered by tests

Check warning on line 214 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#L214

Added line #L214 was not covered by tests

Check warning on line 226 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#L226

Added line #L226 was not covered by tests

Check warning on line 240 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#L240

Added line #L240 was not covered by tests

Check warning on line 245 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#L245

Added line #L245 was not covered by tests

Check warning on line 251 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#L251

Added line #L251 was not covered by tests