Skip to content

fix: Improve prompt formatting and streaming event handling

Codecov / codecov/patch failed Dec 18, 2024 in 1s

16.05% of diff hit (target 54.03%)

View this Pull Request on Codecov

16.05% of diff hit (target 54.03%)

Annotations

Check warning on line 265 in agentops/client.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/client.py#L265

Added line #L265 was not covered by tests

Check warning on line 267 in agentops/client.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/client.py#L267

Added line #L267 was not covered by tests

Check warning on line 24 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L17-L24

Added lines #L17 - L24 were not covered by tests

Check warning on line 29 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L28-L29

Added lines #L28 - L29 were not covered by tests

Check warning on line 35 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L34-L35

Added lines #L34 - L35 were not covered by tests

Check warning on line 37 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L37

Added line #L37 was not covered by tests

Check warning on line 40 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L39-L40

Added lines #L39 - L40 were not covered by tests

Check warning on line 45 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L45

Added line #L45 was not covered by tests

Check warning on line 55 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L55

Added line #L55 was not covered by tests

Check warning on line 57 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L57

Added line #L57 was not covered by tests

Check warning on line 59 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L59

Added line #L59 was not covered by tests

Check warning on line 61 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L61

Added line #L61 was not covered by tests

Check warning on line 67 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L67

Added line #L67 was not covered by tests

Check warning on line 70 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L70

Added line #L70 was not covered by tests

Check warning on line 74 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 82 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L76-L82

Added lines #L76 - L82 were not covered by tests

Check warning on line 84 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L84

Added line #L84 was not covered by tests

Check warning on line 86 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L86

Added line #L86 was not covered by tests

Check warning on line 88 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L88

Added line #L88 was not covered by tests

Check warning on line 90 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L90

Added line #L90 was not covered by tests

Check warning on line 96 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L96

Added line #L96 was not covered by tests

Check warning on line 99 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L99

Added line #L99 was not covered by tests

Check warning on line 103 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 111 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L105-L111

Added lines #L105 - L111 were not covered by tests

Check warning on line 114 in agentops/llms/providers/fireworks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

agentops/llms/providers/fireworks.py#L114

Added line #L114 was not covered by tests