mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-03 19:57:35 +00:00
chore: recordings for fireworks (inference + openai) (#3573)
# What does this PR do? recorded for: ./scripts/integration-tests.sh --stack-config server:ci-tests --suite base --setup fireworks --subdirs inference --pattern openai ## Test Plan ./scripts/integration-tests.sh --stack-config server:ci-tests --suite base --setup fireworks --subdirs inference --pattern openai
This commit is contained in:
parent
53b15725b6
commit
0d94f3e2c0
24 changed files with 46171 additions and 3 deletions
|
@ -61,6 +61,7 @@ logger = get_logger(name=__name__, category="inference::fireworks")
|
|||
class FireworksInferenceAdapter(OpenAIMixin, ModelRegistryHelper, Inference, NeedsRequestProviderData):
|
||||
embedding_model_metadata = {
|
||||
"nomic-ai/nomic-embed-text-v1.5": {"embedding_dimension": 768, "context_length": 8192},
|
||||
"accounts/fireworks/models/qwen3-embedding-8b": {"embedding_dimension": 4096, "context_length": 40960},
|
||||
}
|
||||
|
||||
def __init__(self, config: FireworksImplConfig) -> None:
|
||||
|
|
31
tests/integration/recordings/responses/1c0a34fa2e0c.json
Normal file
31
tests/integration/recordings/responses/1c0a34fa2e0c.json
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"input": [],
|
||||
"encoding_format": "float"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [],
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 0,
|
||||
"total_tokens": 0,
|
||||
"completion_tokens": 0
|
||||
},
|
||||
"perf_metrics": null
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
4743
tests/integration/recordings/responses/235c36771a8a.json
Normal file
4743
tests/integration/recordings/responses/235c36771a8a.json
Normal file
File diff suppressed because it is too large
Load diff
31
tests/integration/recordings/responses/24e106063719.json
Normal file
31
tests/integration/recordings/responses/24e106063719.json
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"input": [],
|
||||
"encoding_format": "base64"
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [],
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 0,
|
||||
"total_tokens": 0,
|
||||
"completion_tokens": 0
|
||||
},
|
||||
"perf_metrics": null
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
316
tests/integration/recordings/responses/25649d730247.json
Normal file
316
tests/integration/recordings/responses/25649d730247.json
Normal file
|
@ -0,0 +1,316 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/chat/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
"content": "What's the name of the Sun in latin?"
|
||||
}
|
||||
],
|
||||
"stream": true
|
||||
},
|
||||
"endpoint": "/v1/chat/completions",
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": [
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": null,
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": "assistant",
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": "The Latin",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " name",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " for",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " the",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " Sun",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " is",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " \"",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": "Sol",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": "\".",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "3745da23-2db2-45a1-8ea5-2a09bbdb6a33",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": null,
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": "stop",
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920389,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": {
|
||||
"completion_tokens": 11,
|
||||
"prompt_tokens": 20,
|
||||
"total_tokens": 31,
|
||||
"completion_tokens_details": null,
|
||||
"prompt_tokens_details": null
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_streaming": true
|
||||
}
|
||||
}
|
550
tests/integration/recordings/responses/651af76045af.json
Normal file
550
tests/integration/recordings/responses/651af76045af.json
Normal file
|
@ -0,0 +1,550 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/chat/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
"content": "What is the name of the US captial?"
|
||||
}
|
||||
],
|
||||
"stream": true
|
||||
},
|
||||
"endpoint": "/v1/chat/completions",
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": [
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": null,
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": "assistant",
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": "The name",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " of",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " the",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " US",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " capital",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " is",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " Washington",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": ",",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " D",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": ".C",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": ".",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " (",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": "short",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " for",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " District",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " of",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " Columbia",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": ").",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "f72b5be3-a677-4c38-b6ae-8c7e5cc4bf29",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": null,
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": "stop",
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920398,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": {
|
||||
"completion_tokens": 20,
|
||||
"prompt_tokens": 20,
|
||||
"total_tokens": 40,
|
||||
"completion_tokens_details": null,
|
||||
"prompt_tokens_details": null
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_streaming": true
|
||||
}
|
||||
}
|
7926
tests/integration/recordings/responses/7eace23f03df.json
Normal file
7926
tests/integration/recordings/responses/7eace23f03df.json
Normal file
File diff suppressed because it is too large
Load diff
56
tests/integration/recordings/responses/88ce59013228.json
Normal file
56
tests/integration/recordings/responses/88ce59013228.json
Normal file
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"input": "Test dimensions parameter",
|
||||
"encoding_format": "float",
|
||||
"dimensions": 16
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": [
|
||||
-0.9296875,
|
||||
5.1875,
|
||||
-2.140625,
|
||||
0.171875,
|
||||
-2.25,
|
||||
-0.8359375,
|
||||
-0.828125,
|
||||
1.15625,
|
||||
2.328125,
|
||||
-1.0078125,
|
||||
-3.0,
|
||||
4.09375,
|
||||
0.8359375,
|
||||
0.1015625,
|
||||
2.015625,
|
||||
-1.0859375
|
||||
],
|
||||
"index": 0,
|
||||
"object": "embedding",
|
||||
"raw_output": null
|
||||
}
|
||||
],
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 5,
|
||||
"total_tokens": 5,
|
||||
"completion_tokens": 0
|
||||
},
|
||||
"perf_metrics": null
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
39
tests/integration/recordings/responses/8cdb7e65fcfe.json
Normal file
39
tests/integration/recordings/responses/8cdb7e65fcfe.json
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/embeddings",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"input": "Test dimensions parameter",
|
||||
"encoding_format": "base64",
|
||||
"dimensions": 16
|
||||
},
|
||||
"endpoint": "/v1/embeddings",
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.create_embedding_response.CreateEmbeddingResponse",
|
||||
"__data__": {
|
||||
"data": [
|
||||
{
|
||||
"embedding": "AABuvwAApkAAAAnAAAAwPgAAEMAAAFa/AABUvwAAlD8AABVAAACBvwAAQMAAAINAAABWPwAA0D0AAAFAAACLvw==",
|
||||
"index": 0,
|
||||
"object": "embedding",
|
||||
"raw_output": null
|
||||
}
|
||||
],
|
||||
"model": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"object": "list",
|
||||
"usage": {
|
||||
"prompt_tokens": 5,
|
||||
"total_tokens": 5,
|
||||
"completion_tokens": 0
|
||||
},
|
||||
"perf_metrics": null
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
56
tests/integration/recordings/responses/901b5e7db4aa.json
Normal file
56
tests/integration/recordings/responses/901b5e7db4aa.json
Normal file
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/chat/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Hello, world!"
|
||||
}
|
||||
],
|
||||
"stream": false
|
||||
},
|
||||
"endpoint": "/v1/chat/completions",
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
|
||||
"__data__": {
|
||||
"id": "1d64ff81-b7c4-40c6-9509-cca71759da3e",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": "stop",
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"message": {
|
||||
"content": "Hello! It's nice to meet you. Is there something I can help you with, or would you like to chat?",
|
||||
"refusal": null,
|
||||
"role": "assistant",
|
||||
"annotations": null,
|
||||
"audio": null,
|
||||
"function_call": null,
|
||||
"tool_calls": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"created": 1758920401,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": {
|
||||
"completion_tokens": 26,
|
||||
"prompt_tokens": 14,
|
||||
"total_tokens": 40,
|
||||
"completion_tokens_details": null,
|
||||
"prompt_tokens_details": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
74
tests/integration/recordings/responses/969a9a757e0c.json
Normal file
74
tests/integration/recordings/responses/969a9a757e0c.json
Normal file
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/chat/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
"content": "What's the weather in Tokyo? Use the get_weather function to get the weather."
|
||||
}
|
||||
],
|
||||
"stream": false,
|
||||
"tools": [
|
||||
{
|
||||
"type": "function",
|
||||
"function": {
|
||||
"name": "get_weather",
|
||||
"description": "Get the weather in a given city",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"city": {
|
||||
"type": "string",
|
||||
"description": "The city to get the weather for"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"endpoint": "/v1/chat/completions",
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
|
||||
"__data__": {
|
||||
"id": "0fe94e7d-f25b-4843-ba0a-e402e0764830",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": "stop",
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"message": {
|
||||
"content": "I can\u2019t help with that. If you're looking for current weather information, I recommend checking a weather website or app, such as AccuWeather or Weather.com. Is there anything else I can help you with?",
|
||||
"refusal": null,
|
||||
"role": "assistant",
|
||||
"annotations": null,
|
||||
"audio": null,
|
||||
"function_call": null,
|
||||
"tool_calls": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"created": 1758920402,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": {
|
||||
"completion_tokens": 45,
|
||||
"prompt_tokens": 27,
|
||||
"total_tokens": 72,
|
||||
"completion_tokens_details": null,
|
||||
"prompt_tokens_details": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
4135
tests/integration/recordings/responses/9c1a4c5336a7.json
Normal file
4135
tests/integration/recordings/responses/9c1a4c5336a7.json
Normal file
File diff suppressed because it is too large
Load diff
12345
tests/integration/recordings/responses/aa745b14fe67.json
Normal file
12345
tests/integration/recordings/responses/aa745b14fe67.json
Normal file
File diff suppressed because it is too large
Load diff
4135
tests/integration/recordings/responses/ca332c91adee.json
Normal file
4135
tests/integration/recordings/responses/ca332c91adee.json
Normal file
File diff suppressed because it is too large
Load diff
4135
tests/integration/recordings/responses/d10fc0f9ac66.json
Normal file
4135
tests/integration/recordings/responses/d10fc0f9ac66.json
Normal file
File diff suppressed because it is too large
Load diff
43
tests/integration/recordings/responses/d45ca9107508.json
Normal file
43
tests/integration/recordings/responses/d45ca9107508.json
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"prompt": "Respond to this question and explain your answer. Complete the sentence using one word: Roses are red, violets are ",
|
||||
"stream": false,
|
||||
"extra_body": {}
|
||||
},
|
||||
"endpoint": "/v1/completions",
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "1bbb8db5-63e5-40cd-8ffe-59e0e88bf8f0",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": "length",
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "4. At the beginning of the year, a woman has $5,000"
|
||||
}
|
||||
],
|
||||
"created": 1758920353,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": {
|
||||
"completion_tokens": 16,
|
||||
"prompt_tokens": 25,
|
||||
"total_tokens": 41,
|
||||
"completion_tokens_details": null,
|
||||
"prompt_tokens_details": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
1077
tests/integration/recordings/responses/e22f98c05933.json
Normal file
1077
tests/integration/recordings/responses/e22f98c05933.json
Normal file
File diff suppressed because it is too large
Load diff
56
tests/integration/recordings/responses/e4daa5642f6e.json
Normal file
56
tests/integration/recordings/responses/e4daa5642f6e.json
Normal file
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/chat/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Which planet has rings around it with a name starting with letter S?"
|
||||
}
|
||||
],
|
||||
"stream": false
|
||||
},
|
||||
"endpoint": "/v1/chat/completions",
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
|
||||
"__data__": {
|
||||
"id": "26632ea9-3481-419d-bc0d-83c177257bc4",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": "stop",
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"message": {
|
||||
"content": "There are two planets in our solar system with ring systems that have names starting with the letter S:\n\n1. **Saturn** - Its ring system is one of the most iconic and well-known in our solar system. The rings are made up of ice and rock particles that range in size from tiny dust grains to massive boulders.\n2. **Saturn's moon** - The ring system of **Saturn's moon, Rhea**, is sometimes referred to as a \"ring system\" even though it's much smaller and less prominent than Saturn's. However, it's worth noting that Rhea's ring system is not as well-known as Saturn's.\n\nIf you're looking for a planet with a ring system that starts with the letter S and is not a moon, then the answer is Saturn!",
|
||||
"refusal": null,
|
||||
"role": "assistant",
|
||||
"annotations": null,
|
||||
"audio": null,
|
||||
"function_call": null,
|
||||
"tool_calls": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"created": 1758920397,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": {
|
||||
"completion_tokens": 164,
|
||||
"prompt_tokens": 24,
|
||||
"total_tokens": 188,
|
||||
"completion_tokens_details": null,
|
||||
"prompt_tokens_details": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
706
tests/integration/recordings/responses/e99f14805360.json
Normal file
706
tests/integration/recordings/responses/e99f14805360.json
Normal file
|
@ -0,0 +1,706 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/chat/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Hello, world!"
|
||||
}
|
||||
],
|
||||
"stream": true
|
||||
},
|
||||
"endpoint": "/v1/chat/completions",
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": [
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": null,
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": "assistant",
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": "Hello!",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " It",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": "'s",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " nice",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " to",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " meet",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " you",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": ".",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " Is",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " there",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " something",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " I",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " can",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " help",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " you",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " with",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": ",",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " or",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " would",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " you",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " like",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " to",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": " chat",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": "?",
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
|
||||
"__data__": {
|
||||
"id": "d583f66e-de11-4210-8153-54be000a2783",
|
||||
"choices": [
|
||||
{
|
||||
"delta": {
|
||||
"content": null,
|
||||
"function_call": null,
|
||||
"refusal": null,
|
||||
"role": null,
|
||||
"tool_calls": null
|
||||
},
|
||||
"finish_reason": "stop",
|
||||
"index": 0,
|
||||
"logprobs": null
|
||||
}
|
||||
],
|
||||
"created": 1758920391,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion.chunk",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": {
|
||||
"completion_tokens": 26,
|
||||
"prompt_tokens": 14,
|
||||
"total_tokens": 40,
|
||||
"completion_tokens_details": null,
|
||||
"prompt_tokens_details": null
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_streaming": true
|
||||
}
|
||||
}
|
996
tests/integration/recordings/responses/f3cbd3f07e60.json
Normal file
996
tests/integration/recordings/responses/f3cbd3f07e60.json
Normal file
|
@ -0,0 +1,996 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"prompt": "Respond to this question and explain your answer. Complete the sentence using one word: Roses are red, violets are ",
|
||||
"max_tokens": 50,
|
||||
"stream": true,
|
||||
"extra_body": {}
|
||||
},
|
||||
"endpoint": "/v1/completions",
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": [
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " a"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " type"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " of"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " __________________"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "_____"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": ".\n\n"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "##"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " Step"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " "
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "1"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": ":"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " Identify"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " the"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " type"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " of"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " flower"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " mentioned"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " in"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " the"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " sentence"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": ".\n"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "The"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " sentence"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " mentions"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " \""
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "vio"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "lets"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": ".\"\n\n"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "##"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " Step"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " "
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "2"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": ":"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " Determine"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " the"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " type"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " of"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " flower"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " v"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "io"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "lets"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " are"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": ".\n"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "V"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "io"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": "lets"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " are"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " a"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " type"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": null,
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": " of"
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.completion.Completion",
|
||||
"__data__": {
|
||||
"id": "c9c1f727-afe7-430a-b759-df1dc392266c",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": "length",
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"text": ""
|
||||
}
|
||||
],
|
||||
"created": 1758920354,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "text_completion",
|
||||
"system_fingerprint": null,
|
||||
"usage": {
|
||||
"completion_tokens": 50,
|
||||
"prompt_tokens": 25,
|
||||
"total_tokens": 75,
|
||||
"completion_tokens_details": null,
|
||||
"prompt_tokens_details": null
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_streaming": true
|
||||
}
|
||||
}
|
4135
tests/integration/recordings/responses/f6469c4656dd.json
Normal file
4135
tests/integration/recordings/responses/f6469c4656dd.json
Normal file
File diff suppressed because it is too large
Load diff
56
tests/integration/recordings/responses/f701ad342bd8.json
Normal file
56
tests/integration/recordings/responses/f701ad342bd8.json
Normal file
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/chat/completions",
|
||||
"headers": {},
|
||||
"body": {
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Which planet do humans live on?"
|
||||
}
|
||||
],
|
||||
"stream": false
|
||||
},
|
||||
"endpoint": "/v1/chat/completions",
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct"
|
||||
},
|
||||
"response": {
|
||||
"body": {
|
||||
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
|
||||
"__data__": {
|
||||
"id": "0fd60cd7-dc72-45b7-808c-4da91de80093",
|
||||
"choices": [
|
||||
{
|
||||
"finish_reason": "stop",
|
||||
"index": 0,
|
||||
"logprobs": null,
|
||||
"message": {
|
||||
"content": "Humans live on a planet called Earth.",
|
||||
"refusal": null,
|
||||
"role": "assistant",
|
||||
"annotations": null,
|
||||
"audio": null,
|
||||
"function_call": null,
|
||||
"tool_calls": null
|
||||
}
|
||||
}
|
||||
],
|
||||
"created": 1758920388,
|
||||
"model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"object": "chat.completion",
|
||||
"service_tier": null,
|
||||
"system_fingerprint": null,
|
||||
"usage": {
|
||||
"completion_tokens": 9,
|
||||
"prompt_tokens": 17,
|
||||
"total_tokens": 26,
|
||||
"completion_tokens_details": null,
|
||||
"prompt_tokens_details": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
|
@ -0,0 +1,527 @@
|
|||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://api.fireworks.ai/inference/v1/v1/models",
|
||||
"headers": {},
|
||||
"body": {},
|
||||
"endpoint": "/v1/models",
|
||||
"model": ""
|
||||
},
|
||||
"response": {
|
||||
"body": [
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/flux-1-dev-fp8",
|
||||
"created": 1729532889,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "FLUMINA_BASE_MODEL",
|
||||
"supports_chat": false,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/tvergho-87e44d/models/debatecards-70b-ft-3epoch-dpo-v2",
|
||||
"created": 1743381121,
|
||||
"object": "model",
|
||||
"owned_by": "tvergho-87e44d",
|
||||
"kind": "HF_PEFT_ADDON",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/flux-kontext-max",
|
||||
"created": 1750714611,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "FLUMINA_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": true,
|
||||
"supports_tools": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/flux-kontext-pro",
|
||||
"created": 1750488264,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "FLUMINA_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": true,
|
||||
"supports_tools": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/sentientfoundation-serverless/models/dobby-mini-unhinged-plus-llama-3-1-8b",
|
||||
"created": 1748467427,
|
||||
"object": "model",
|
||||
"owned_by": "sentientfoundation-serverless",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/deepseek-v3",
|
||||
"created": 1735576668,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/sentientfoundation/models/dobby-unhinged-llama-3-3-70b-new",
|
||||
"created": 1739563474,
|
||||
"object": "model",
|
||||
"owned_by": "sentientfoundation",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/gpt-oss-120b",
|
||||
"created": 1754345600,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen3-coder-480b-a35b-instruct",
|
||||
"created": 1753211090,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen3-30b-a3b-thinking-2507",
|
||||
"created": 1753916446,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen3-235b-a22b-instruct-2507",
|
||||
"created": 1753124424,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen3-235b-a22b-thinking-2507",
|
||||
"created": 1753455434,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen3-embedding-8b",
|
||||
"created": 1755707090,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 40960
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/deepseek-v3-0324",
|
||||
"created": 1742827220,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 163840
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/deepseek-v3p1-terminus",
|
||||
"created": 1758586241,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 163840
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/kimi-k2-instruct",
|
||||
"created": 1752259096,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/gpt-oss-20b",
|
||||
"created": 1754345466,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/llama4-maverick-instruct-basic",
|
||||
"created": 1743878495,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": true,
|
||||
"supports_tools": true,
|
||||
"context_length": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen3-coder-30b-a3b-instruct",
|
||||
"created": 1754063588,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/llama-v3p3-70b-instruct",
|
||||
"created": 1733442103,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen2p5-vl-32b-instruct",
|
||||
"created": 1743392739,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": true,
|
||||
"supports_tools": false,
|
||||
"context_length": 128000
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen3-235b-a22b",
|
||||
"created": 1745885249,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/glm-4p5-air",
|
||||
"created": 1754089426,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/deepseek-r1",
|
||||
"created": 1737397673,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 163840
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"created": 1721692808,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/deepseek-r1-basic",
|
||||
"created": 1742306746,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 163840
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/deepseek-v3p1",
|
||||
"created": 1755758988,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 163840
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/flux-1-schnell-fp8",
|
||||
"created": 1729535376,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "FLUMINA_BASE_MODEL",
|
||||
"supports_chat": false,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/glm-4p5",
|
||||
"created": 1753809636,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/kimi-k2-instruct-0905",
|
||||
"created": 1757018994,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/llama-v3p1-405b-instruct",
|
||||
"created": 1721428386,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/llama4-scout-instruct-basic",
|
||||
"created": 1743878279,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": true,
|
||||
"supports_tools": true,
|
||||
"context_length": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen3-30b-a3b",
|
||||
"created": 1745878133,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/llama-v3p1-70b-instruct",
|
||||
"created": 1721287357,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 131072
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/deepseek-r1-0528",
|
||||
"created": 1748456377,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 163840
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/mixtral-8x22b-instruct",
|
||||
"created": 1713375508,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": true,
|
||||
"context_length": 65536
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "openai.types.model.Model",
|
||||
"__data__": {
|
||||
"id": "accounts/fireworks/models/qwen3-30b-a3b-instruct-2507",
|
||||
"created": 1753808388,
|
||||
"object": "model",
|
||||
"owned_by": "fireworks",
|
||||
"kind": "HF_BASE_MODEL",
|
||||
"supports_chat": true,
|
||||
"supports_image_input": false,
|
||||
"supports_tools": false,
|
||||
"context_length": 262144
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_streaming": false
|
||||
}
|
||||
}
|
|
@ -127,9 +127,8 @@ SETUP_DEFINITIONS: dict[str, Setup] = {
|
|||
name="fireworks",
|
||||
description="Fireworks provider with a text model",
|
||||
defaults={
|
||||
"text_model": "accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"vision_model": "accounts/fireworks/models/llama-v3p2-90b-vision-instruct",
|
||||
"embedding_model": "nomic-ai/nomic-embed-text-v1.5",
|
||||
"text_model": "fireworks/accounts/fireworks/models/llama-v3p1-8b-instruct",
|
||||
"embedding_model": "fireworks/accounts/fireworks/models/qwen3-embedding-8b",
|
||||
},
|
||||
),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue